diff options
Diffstat (limited to 'src/cpt-update')
-rwxr-xr-x | src/cpt-update | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/cpt-update b/src/cpt-update index b3884e3..a8f9616 100755 --- a/src/cpt-update +++ b/src/cpt-update @@ -1,8 +1,6 @@ #!/bin/sh -ef # Check for updates -if [ -f ./cpt-lib ]; then . ./cpt-lib; else . cpt-lib; fi - parser_definition() { setup REST help:usage -- "usage: ${0##*/} [options]" msg -- '' 'Options:' @@ -12,11 +10,7 @@ parser_definition() { global_options } -eval "$(getoptions parser_definition parse "$0")" - -parse "$@" -eval set -- "$REST" +if [ -f ./cpt-lib ]; then . ./cpt-lib; else . cpt-lib; fi create_cache - pkg_updates |