This commit is contained in:
simono41 2018-03-18 18:55:46 +01:00
parent 8dca80d34d
commit 8ea7bfc0f4

View file

@ -75,7 +75,14 @@ function pacaurmanagerinstall() {
cd /home/"$username"/ cd /home/"$username"/
pwd pwd
su "$username" -c "git clone https://aur.archlinux.org/cower.git" if [ -d /home/"$username"/cower ];then
echo "Bereits vorhanden!!!"
cd /home/"$username"/cower
su "$username" -c "git pull"
cd ..
else
su "$username" -c "git clone https://aur.archlinux.org/cower.git"
fi
pwd pwd
cd cower cd cower
pwd pwd
@ -83,7 +90,14 @@ function pacaurmanagerinstall() {
pwd pwd
cd .. cd ..
pwd pwd
su "$username" -c "git clone https://aur.archlinux.org/pacaur.git" if [ -d /home/"$username"/pacaur ];then
echo "Bereits vorhanden!!!"
cd /home/"$username"/pacaur
su "$username" -c "git pull"
cd ..
else
su "$username" -c "git clone https://aur.archlinux.org/pacaur.git"
fi
pwd pwd
cd pacaur cd pacaur
pwd pwd