Improved documentation

This commit is contained in:
Eduard Tolosa 2018-11-16 21:48:16 -05:00
parent 3a6420b434
commit 14b708ab35

View file

@ -57,6 +57,7 @@ elif [ "$1" == "--purge" ] || [ "$1" == "-p" ]; then
elif [ "$1" == "--purgepkg" ] || [ "$1" == "-pp" ]; then
rm -rf "$pkgdown"/*
exit
# The next 11 lines allow users to download PKGBUILDs from AUR
elif [ "$1" == "--download" ] || [ "$1" == "-d" ]; then
for pkgname in "${@:2}"; do
curl -s -f -o "$pkgdown/PKGBUILD-$pkgname" "https://aur.archlinux.org/cgit/aur.git/plain/PKGBUILD?h=$pkgname"
@ -132,7 +133,6 @@ for ipackage in "$@"; do
fi
done
#Ask to the user if want to remove the directory created for git
printf "\n${GREEN}Info: finishing tasks...
Deleting the simpleaur lockfile...
Good bye${ALL_OFF}\n"