mirror of
https://github.com/tiyn/larbs.git
synced 2025-04-01 15:07:45 +02:00
added syncing of pkgfile
This commit is contained in:
parent
4156011d66
commit
961b6b34b9
3
larbs.sh
3
larbs.sh
@ -223,6 +223,9 @@ chown -R "$name":wheel "/home/$name/.local"
|
|||||||
ln -sfT /bin/dash /bin/sh
|
ln -sfT /bin/dash /bin/sh
|
||||||
curl $bashhook > /usr/share/libalpm/hooks/bash-update.hook
|
curl $bashhook > /usr/share/libalpm/hooks/bash-update.hook
|
||||||
|
|
||||||
|
# Update pkgfile database for the command not found handler to work with zsh
|
||||||
|
pkgfile -u
|
||||||
|
|
||||||
# Allow wheel users to sudo with password and allow several system commands
|
# Allow wheel users to sudo with password and allow several system commands
|
||||||
# (like `shutdown` to run without password).
|
# (like `shutdown` to run without password).
|
||||||
echo "%wheel ALL=(ALL:ALL) ALL" >/etc/sudoers.d/00-larbs-wheel-can-sudo
|
echo "%wheel ALL=(ALL:ALL) ALL" >/etc/sudoers.d/00-larbs-wheel-can-sudo
|
||||||
|
Loading…
x
Reference in New Issue
Block a user