From 7ecdc262a32ca9fcf64abaae2842a7cd3f7260a8 Mon Sep 17 00:00:00 2001 From: David Runge Date: Sun, 4 Mar 2018 18:58:14 +0100 Subject: bin/pkgs: Activating update modi. --- bin/pkgs | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'bin') 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) -- cgit v1.2.3-70-g09d2