This commit is contained in:
Luke Smith 2021-06-24 20:36:25 -04:00
parent 88b03c6eb7
commit 42547f6155
No known key found for this signature in database
GPG Key ID: 4C50B54A911F6252

View File

@ -81,7 +81,7 @@ manualinstall() { # Installs $1 manually if not installed. Used only for AUR hel
curl -sO https://aur.archlinux.org/cgit/aur.git/snapshot/"$1".tar.gz && curl -sO https://aur.archlinux.org/cgit/aur.git/snapshot/"$1".tar.gz &&
sudo -u "$name" tar -xvf "$1".tar.gz >/dev/null 2>&1 && sudo -u "$name" tar -xvf "$1".tar.gz >/dev/null 2>&1 &&
cd "$1" && cd "$1" &&
sudo -u "$name" makepkg --noconfirm -si >/dev/null 2>&1 sudo -u "$name" makepkg --noconfirm -si >/dev/null 2>&1 || return 1
cd /tmp || return 1) ;} cd /tmp || return 1) ;}
maininstall() { # Installs all needed programs from main repo. maininstall() { # Installs all needed programs from main repo.