diff options
Diffstat (limited to 'source/a/pkgtools/scripts/installpkg')
-rw-r--r-- | source/a/pkgtools/scripts/installpkg | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/a/pkgtools/scripts/installpkg b/source/a/pkgtools/scripts/installpkg index c5c6ee2af..7eea53629 100644 --- a/source/a/pkgtools/scripts/installpkg +++ b/source/a/pkgtools/scripts/installpkg @@ -167,6 +167,7 @@ Installpkg is used to install a .t{gz,bz,lz,xz} package like this: installpkg slackware-package-1.0.0-i486-1.tgz (or .tbz, .tlz, .txz) options: --warn (warn if files will be overwritten, but do not install) + --dry-run (same as --warn) --root /mnt (install someplace else, like /mnt) --infobox (use dialog to draw an info box) --terse (display a one-line short description for install) @@ -231,7 +232,7 @@ fi # Parse options: while [ 0 ]; do - if [ "$1" = "-warn" -o "$1" = "--warn" ]; then + if [ "$1" = "-warn" -o "$1" = "--warn" -o "$1" = "-dry-run" -o "$1" = "--dry-run" ]; then MODE=warn shift 1 elif [ "$1" = "-md5sum" -o "$1" = "--md5sum" ]; then |