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!"