Fix some things

This commit is contained in:
Eduard Tolosa 2018-08-05 01:50:53 -05:00
parent d904ffab08
commit 95f956dbcd

View file

@ -62,7 +62,7 @@ fi
# Check if the package was already downloaded and then download the PKGBUILDs accordly to user needs. # Check if the package was already downloaded and then download the PKGBUILDs accordly to user needs.
for ipackage in "$@"; do for ipackage in "$@"; do
if [ -f "$basebuilddir/$ipackage/PKGBUILD" ]; then if [ -f "$basebuilddir/$ipackage/PKGBUILD" ]; then
printf "\n${GREEN}PKGBUILD for ${BLUE}[ $ipackage ] ${GREEN}exist in the ${BLUE}[ $basebuilddir/$ipackage ] ${GREEN}directory, pulling the git directory and reinstalling/updating the packages.\n" printf "\n${GREEN}PKGBUILD for ${BLUE}[ $ipackage ] ${GREEN}exist in the ${BLUE}[ $basebuilddir/$ipackage ] ${GREEN}directory, pulling the git directory and reinstalling/updating the packages.${ALL_OFF}\n"
cd "$basebuilddir/$ipackage" || exit cd "$basebuilddir/$ipackage" || exit
git pull git pull
cd "$basebuilddir" || exit cd "$basebuilddir" || exit