diff options
author | David Runge <dave@sleepmap.de> | 2018-03-04 18:58:14 +0100 |
---|---|---|
committer | David Runge <dave@sleepmap.de> | 2018-03-04 18:58:14 +0100 |
commit | 7ecdc262a32ca9fcf64abaae2842a7cd3f7260a8 (patch) | |
tree | 98c2c775e8dc42ebc2808663cb737efd311592da /bin | |
parent | 9fed26b594f488570fdf0f067ee0353ed7bb9f47 (diff) | |
download | dotfiles-7ecdc262a32ca9fcf64abaae2842a7cd3f7260a8.tar.gz dotfiles-7ecdc262a32ca9fcf64abaae2842a7cd3f7260a8.tar.bz2 dotfiles-7ecdc262a32ca9fcf64abaae2842a7cd3f7260a8.tar.xz dotfiles-7ecdc262a32ca9fcf64abaae2842a7cd3f7260a8.zip |
bin/pkgs: Activating update modi.
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/pkgs | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -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) |