mirror of
https://github.com/brunofontes/linuxShortcuts.git
synced 2024-11-23 23:40:51 +00:00
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:
parent
c380704b33
commit
bb7e074fb3
@ -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!"
|
||||
|
Loading…
Reference in New Issue
Block a user