diff options
Diffstat (limited to 'src/cpt-update')
-rwxr-xr-x | src/cpt-update | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/cpt-update b/src/cpt-update index bbda066..39399c9 100755 --- a/src/cpt-update +++ b/src/cpt-update @@ -1,8 +1,7 @@ #!/bin/sh -ef # Check for updates -# shellcheck disable=1091 -if command -v cpt-lib >/dev/null; then . cpt-lib; else . ./cpt-lib; fi +if [ -f ./cpt-lib ]; then . ./cpt-lib; else . cpt-lib; fi parser_definition() { setup REST -- "usage: ${0##*/} [options]" |