From 0403f11222230a623cded415c2c92de049f1ef28 Mon Sep 17 00:00:00 2001 From: David Runge Date: Tue, 11 Jun 2019 20:49:17 +0200 Subject: bin/pkgs: Fixing always true statement for using create_package. --- bin/pkgs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin/pkgs') 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) -- cgit v1.2.3-70-g09d2