Skip to content

Commit

Permalink
Merge pull request #553 from aartoni/master
Browse files Browse the repository at this point in the history
Fix manualinstall, delete temporary file
  • Loading branch information
LukeSmithxyz authored May 7, 2024
2 parents 96d89e7 + 98a1189 commit 1ff171b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion static/larbs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ adduserandpass || error "Error adding username and/or password."
# in a fakeroot environment, this is required for all builds with AUR.
trap 'rm -f /etc/sudoers.d/larbs-temp' HUP INT QUIT TERM PWR EXIT
echo "%wheel ALL=(ALL) NOPASSWD: ALL
Defaults:%wheel runcwd=*" >/etc/sudoers.d/larbs-temp
Defaults:%wheel,root runcwd=*" >/etc/sudoers.d/larbs-temp

# Make pacman colorful, concurrent downloads and Pacman eye-candy.
grep -q "ILoveCandy" /etc/pacman.conf || sed -i "/#VerbosePkgLists/a ILoveCandy" /etc/pacman.conf
Expand Down Expand Up @@ -375,5 +375,8 @@ echo "Defaults editor=/usr/bin/nvim" >/etc/sudoers.d/02-larbs-visudo-editor
mkdir -p /etc/sysctl.d
echo "kernel.dmesg_restrict = 0" > /etc/sysctl.d/dmesg.conf

# Cleanup
rm -f /etc/sudoers.d/larbs-temp

# Last message! Install complete!
finalize

0 comments on commit 1ff171b

Please sign in to comment.