aboutsummaryrefslogtreecommitdiffstats
path: root/bin/pkgs
diff options
context:
space:
mode:
Diffstat (limited to 'bin/pkgs')
-rwxr-xr-xbin/pkgs7
1 files changed, 4 insertions, 3 deletions
diff --git a/bin/pkgs b/bin/pkgs
index 07bda95..ce208c4 100755
--- a/bin/pkgs
+++ b/bin/pkgs
@@ -274,17 +274,18 @@ elif [ $update_mode -eq 1 ] && \
[ $aur_mode -eq 1 ] && \
[ $community_mode -eq 0 ];then
echo "Updating AUR packages."
- cat "$aur_packagelist"
+ update_aur_packages
elif [ $update_mode -eq 1 ] && \
[ $aur_mode -eq 0 ] && \
[ $community_mode -eq 1 ];then
echo "Updating community packages."
- cat "$community_packagelist"
+ update_community_packages
elif [ $update_mode -eq 1 ] && \
[ $aur_mode -eq 1 ] && \
[ $community_mode -eq 1 ];then
echo "Updating all packages:"
- cat "$aur_packagelist" "$community_packagelist"
+ update_aur_packages
+ update_community_packages
fi
# clean_mode (works with aur_mode and community_mode)