Update after.sh
This commit is contained in:
parent
ec377f2fed
commit
529cd5d936
1 changed files with 9 additions and 0 deletions
9
after.sh
9
after.sh
|
|
@ -65,6 +65,15 @@ install -d -o "$USERNAME" -g "$USERNAME" /home/tadas/.config/yay
|
||||||
su - "$USERNAME" <<'EOF'
|
su - "$USERNAME" <<'EOF'
|
||||||
git clone https://aur.archlinux.org/yay-bin.git
|
git clone https://aur.archlinux.org/yay-bin.git
|
||||||
cd yay-bin
|
cd yay-bin
|
||||||
|
#
|
||||||
|
# LIMIT TESTING
|
||||||
|
echo "USERNAME=$USERNAME"
|
||||||
|
cat /etc/sudoers.d/99-install-script
|
||||||
|
runuser -u "$USERNAME" -- sudo -n true \
|
||||||
|
&& echo "Passwordless sudo works" \
|
||||||
|
|| echo "Passwordless sudo FAILED"
|
||||||
|
#############################################
|
||||||
|
|
||||||
makepkg -si --noconfirm
|
makepkg -si --noconfirm
|
||||||
|
|
||||||
# Set up yay to not ask for password multiple times
|
# Set up yay to not ask for password multiple times
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue