Update yaourt install
This commit is contained in:
parent
4bb89ac21c
commit
1602d6142e
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue