aboutsummaryrefslogtreecommitdiffstats
path: root/bin/pkgs
diff options
context:
space:
mode:
authorDavid Runge <dave@sleepmap.de>2019-06-11 20:49:17 +0200
committerDavid Runge <dave@sleepmap.de>2019-06-11 20:49:17 +0200
commit0403f11222230a623cded415c2c92de049f1ef28 (patch)
tree73b0cab8ca42f4ead7bc61c8df1625f405d4c6ed /bin/pkgs
parent973b341d289b05c0ddc82e07e7ef2d8b6713b742 (diff)
downloaddotfiles-0403f11222230a623cded415c2c92de049f1ef28.tar.gz
dotfiles-0403f11222230a623cded415c2c92de049f1ef28.tar.bz2
dotfiles-0403f11222230a623cded415c2c92de049f1ef28.tar.xz
dotfiles-0403f11222230a623cded415c2c92de049f1ef28.zip
bin/pkgs: Fixing always true statement for using create_package.
Diffstat (limited to 'bin/pkgs')
-rwxr-xr-xbin/pkgs2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/pkgs b/bin/pkgs
index 8d0c34e..4580977 100755
--- a/bin/pkgs
+++ b/bin/pkgs
@@ -240,7 +240,7 @@ case "${mode}" in
exit 1
else
add_package "$package"
- [ $new_package ] && create_package "$package"
+ [ $new_package -gt 0 ] && create_package "$package"
fi
;;
remove)