This commit is contained in:
MatMoul 2018-07-22 17:37:55 +02:00
parent 4b931bc115
commit eb905aa467

View file

@ -67,7 +67,7 @@ checkaurdependencies(){
echo -e "$newpass\n$newpass\n"|passwd aurbuilder echo -e "$newpass\n$newpass\n"|passwd aurbuilder
newpass="" newpass=""
else else
usermod -m -d /tmp/aurbuilder aurbuilder usermod -m -d /tmp/aurbuilder aurbuilder >/dev/null
fi fi
if [ ! -f /etc/sudoers.d/aurbuilder ]; then if [ ! -f /etc/sudoers.d/aurbuilder ]; then
echo "aurbuilder ALL=(ALL) NOPASSWD: ALL" > /etc/sudoers.d/aurbuilder echo "aurbuilder ALL=(ALL) NOPASSWD: ALL" > /etc/sudoers.d/aurbuilder