From bb7e074fb312187081c600cb2cf7d9f288b91924 Mon Sep 17 00:00:00 2001 From: Bruno Fontes Date: Mon, 11 Jun 2018 13:38:12 -0300 Subject: [PATCH] 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 --- Pacman/aur.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Pacman/aur.sh b/Pacman/aur.sh index 4e306d0..3e0dd8f 100644 --- a/Pacman/aur.sh +++ b/Pacman/aur.sh @@ -1,6 +1,7 @@ sudo echo -cd ~/Downloads +mkdir -p ~/AUR +cd ~/AUR git clone https://aur.archlinux.org/"$1".git cd "$1" -sudo yes | makepkg -si && cd ..; rm -rf ""$1"" -notify-send """$1"" installed!" +echo "cd ..; rm -rf ""$1""" > clean.sh +sudo yes | makepkg -si && ./clean.sh && notify-send """$1"" installed!"