mirror of
https://github.com/brunofontes/linuxShortcuts.git
synced 2024-11-24 00:50:51 +00:00
bb7e074fb3
- 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
8 lines
199 B
Bash
8 lines
199 B
Bash
sudo echo
|
|
mkdir -p ~/AUR
|
|
cd ~/AUR
|
|
git clone https://aur.archlinux.org/"$1".git
|
|
cd "$1"
|
|
echo "cd ..; rm -rf ""$1""" > clean.sh
|
|
sudo yes | makepkg -si && ./clean.sh && notify-send """$1"" installed!"
|