Update aur.sh

- Changed folder to ~/AUR
- Creating a clean.sh file as we would have some issues during the package installing, so the user will be able to clean the folder easily
This commit is contained in:
Bruno Fontes 2018-06-11 13:38:12 -03:00 committed by GitHub
parent c380704b33
commit bb7e074fb3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,6 +1,7 @@
sudo echo sudo echo
cd ~/Downloads mkdir -p ~/AUR
cd ~/AUR
git clone https://aur.archlinux.org/"$1".git git clone https://aur.archlinux.org/"$1".git
cd "$1" cd "$1"
sudo yes | makepkg -si && cd ..; rm -rf ""$1"" echo "cd ..; rm -rf ""$1""" > clean.sh
notify-send """$1"" installed!" sudo yes | makepkg -si && ./clean.sh && notify-send """$1"" installed!"