pkgmeek: reorder the exit tests for '--download-only'
This commit is contained in:
parent
e1c023b685
commit
6f02ab186c
@ -73,16 +73,16 @@ done ; }
|
||||
[ $errDL = 0 ] && { [ "$PKGMK_MTIME_ONLY" = "yes" ] || \
|
||||
info "Successfully obtained all needed source files."; } || exit $E_DOWNLOAD
|
||||
|
||||
# Can stop here if the user asked for '-do', but honor any requests for '-um', '-us',
|
||||
# '-eo', '-uf', or '-utd' by proceeding to those steps
|
||||
[ "$PKGMK_DOWNLOAD_ONLY" = "no" ] || [ "$PKGMK_UPDATE_MD5" = "yes" ] || \
|
||||
[ "$PKGMK_UPDATE_FOOTPRINT" = "yes" ] || [ "$PKGMK_UPDATE_SIG" = "yes" ] || \
|
||||
[ "$PKGMK_EXTRACT_ONLY" = "yes" ] || [ "$PKGMK_MTIME_ONLY" = "yes" ] || exit 0
|
||||
|
||||
# If the user only asked for '-utd', perform the check using the sources that do exist.
|
||||
check_pkg_mtime; pkg_utd=$?
|
||||
[ "$PKGMK_MTIME_ONLY" = "no" ] || [ "$PKGMK_CHECK_SIG" = "yes" ] || exit $pkg_utd
|
||||
|
||||
# Can stop here if the user asked for '-do', but honor any requests for '-um', '-us',
|
||||
# '-eo', or '-uf' by proceeding to those steps
|
||||
[ "$PKGMK_DOWNLOAD_ONLY" = "no" ] || [ "$PKGMK_UPDATE_MD5" = "yes" ] || \
|
||||
[ "$PKGMK_UPDATE_FOOTPRINT" = "yes" ] || [ "$PKGMK_UPDATE_SIG" = "yes" ] || \
|
||||
[ "$PKGMK_EXTRACT_ONLY" = "yes" ] || exit 0
|
||||
|
||||
# Take into account all the actions that can be done with a previously built package,
|
||||
# or with a full set of sources
|
||||
[ "$pkg_utd" = 0 ] || [ "$PKGMK_FORCE" = "yes" ] || [ "$PKGMK_UPDATE_FOOTPRINT" = "yes" ] \
|
||||
|
Loading…
Reference in New Issue
Block a user