diff options
-rwxr-xr-x | bin/pkg | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -61,9 +61,7 @@ function check_installed { } function check_valid { - if ! list_exists $1; then - die "No such package: '$1'\n" - fi + list_exists $1 || die "No such package: '$1'\n" } function clear_line { |