diff options
Diffstat (limited to '')
-rw-r--r-- | source/a/pkgtools/scripts/upgradepkg | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/a/pkgtools/scripts/upgradepkg b/source/a/pkgtools/scripts/upgradepkg index 9ae3ce204..49c5d9da8 100644 --- a/source/a/pkgtools/scripts/upgradepkg +++ b/source/a/pkgtools/scripts/upgradepkg @@ -80,6 +80,7 @@ To operate on an alternate directory, such as /mnt: Options: --dry-run only display what would be done + --warn same as --dry-run --install-new install new packages also --reinstall upgrade packages of the same version --terse display a single line for each package operation @@ -155,7 +156,7 @@ while [ 0 ]; do # We're adding a --verbose mode that doesn't filter removepkg as much VERBOSE="verbose" shift 1 - elif [ "$1" = "-dry-run" -o "$1" = "--dry-run" ]; then + elif [ "$1" = "-dry-run" -o "$1" = "--dry-run" -o "$1" = "-warn" -o "$1" = "--warn" ]; then # Output a report about which packages would be installed or upgraded # but don't actually perform the upgrades. DRY_RUN="true" |