diff options
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/pkg | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -46,9 +46,9 @@ function check_installed { } function check_valid { - if [[ -z $(list_exists $1) ]] { - die "No suche package: '$1'\n" - } + if ! list_exists $1; then + die "No such package: '$1'\n" + fi } function clear_line { |