aboutsummaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorDavid Runge <dave@sleepmap.de>2018-03-04 18:58:14 +0100
committerDavid Runge <dave@sleepmap.de>2018-03-04 18:58:14 +0100
commit7ecdc262a32ca9fcf64abaae2842a7cd3f7260a8 (patch)
tree98c2c775e8dc42ebc2808663cb737efd311592da /bin
parent9fed26b594f488570fdf0f067ee0353ed7bb9f47 (diff)
downloaddotfiles-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-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)