diff options
-rwxr-xr-x | archPackagesUpdate | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/archPackagesUpdate b/archPackagesUpdate index 38ceb524..bda7688b 100755 --- a/archPackagesUpdate +++ b/archPackagesUpdate @@ -30,7 +30,7 @@ usage() exit 1 } -# parse arguments +echo 'parse arguments ...' eval set -- "$(getopt -o f --long force,no-upload,no-selfUpdate,no-abortOnMakepkgError -n "$(basename "$0")" -- "$@" || echo "usage")" args=("$@") @@ -38,18 +38,22 @@ while true do case $1 in -f|--force) + echo '"force" erkannt' force=true shift ;; --no-upload) + echo '"no-upload" erkannt' upload=false shift ;; --no-selfUpdate) + echo '"no-selfUpdate" erkannt' updateMe=false shift ;; --no-abortOnMakepkgError) + echo '"no-abortOnMakepkgError" erkannt' abortOnMakepkgError=false shift ;; @@ -70,6 +74,8 @@ then usage fi +echo '... done' + $aufRechenknecht && pkgSrcDir="${pkgSrcDir}/archPackages" cd "${pkgSrcDir}" |