Update yaourt install

This commit is contained in:
MatMoul 2018-06-05 01:08:04 +02:00
parent 4bb89ac21c
commit 1602d6142e

View file

@ -58,6 +58,9 @@ checkaurdependencies(){
if [ ! -f /usr/bin/automake ]; then if [ ! -f /usr/bin/automake ]; then
pacman -S --needed base-devel pacman -S --needed base-devel
fi fi
if [ ! -f /usr/bin/git ]; then
pacman -S --needed git
fi
if [ ! $(id -u "aurbuilder") ]; then if [ ! $(id -u "aurbuilder") ]; then
newpass=$(< /dev/urandom tr -dc "@#*%&_A-Z-a-z-0-9" | head -c16) newpass=$(< /dev/urandom tr -dc "@#*%&_A-Z-a-z-0-9" | head -c16)
useradd -r -N -M -d /home/.aurbuilder -s /usr/bin/nologin aurbuilder useradd -r -N -M -d /home/.aurbuilder -s /usr/bin/nologin aurbuilder