aurinstaller_name_update
This commit is contained in:
parent
046005c6df
commit
80030bb39b
1 changed files with 7 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
set -ex
|
set -x
|
||||||
|
|
||||||
url="$1"
|
url="$1"
|
||||||
url1=${url%.*}
|
url1=${url%.*}
|
||||||
|
@ -15,7 +15,12 @@ if [ -d ${packagename} ];then
|
||||||
git reset --hard
|
git reset --hard
|
||||||
git pull
|
git pull
|
||||||
else
|
else
|
||||||
git clone ${url}
|
if git clone ${url}; then
|
||||||
|
echo "git erfolgreich runtergeladen!!!"
|
||||||
|
else
|
||||||
|
echo "verändere URL zum erfolgreichen herunterladen!!!"
|
||||||
|
git clone "https://aur.archlinux.org/${url}.git"
|
||||||
|
fi
|
||||||
cd ${packagename}
|
cd ${packagename}
|
||||||
fi
|
fi
|
||||||
makepkg -si --skipchecksums --skippgpcheck --nocheck --noconfirm --install --needed
|
makepkg -si --skipchecksums --skippgpcheck --nocheck --noconfirm --install --needed
|
||||||
|
|
Loading…
Reference in a new issue