diff options
author | jlam <jlam> | 2003-08-30 20:22:49 +0000 |
---|---|---|
committer | jlam <jlam> | 2003-08-30 20:22:49 +0000 |
commit | 666ed6c0c92fb8ba4abc83bdd43c11ec9d7d6fbf (patch) | |
tree | d334e2fd95050def4488e848ea48612e6f9103a4 /print/LPRng-core | |
parent | 317125bd907f66ec82387cf511dc7b44104be596 (diff) | |
download | pkgsrc-666ed6c0c92fb8ba4abc83bdd43c11ec9d7d6fbf.tar.gz |
Prepare for pkgviews by making sure that passing VIEW-INSTALL or
VIEW-DEINSTALL to the INSTALL/DEINSTALL scripts don't cause errors.
Diffstat (limited to 'print/LPRng-core')
-rw-r--r-- | print/LPRng-core/DEINSTALL | 7 | ||||
-rw-r--r-- | print/LPRng-core/INSTALL | 10 |
2 files changed, 2 insertions, 15 deletions
diff --git a/print/LPRng-core/DEINSTALL b/print/LPRng-core/DEINSTALL index 4c78d14eb31..c70ddb7a6a7 100644 --- a/print/LPRng-core/DEINSTALL +++ b/print/LPRng-core/DEINSTALL @@ -1,6 +1,6 @@ #!/bin/sh # -# $NetBSD: DEINSTALL,v 1.1 2001/10/31 23:27:25 zuntum Exp $ +# $NetBSD: DEINSTALL,v 1.2 2003/08/30 20:23:01 jlam Exp $ PKGNAME=$1 STAGE=$2 @@ -58,10 +58,5 @@ EOF =========================================================================== EOF ;; - -*) - echo "Unexpected argument: ${STAGE}" - exit 1 - ;; esac exit 0 diff --git a/print/LPRng-core/INSTALL b/print/LPRng-core/INSTALL index ad534279044..1ffae193614 100644 --- a/print/LPRng-core/INSTALL +++ b/print/LPRng-core/INSTALL @@ -1,6 +1,6 @@ #! /bin/sh # -# $NetBSD: INSTALL,v 1.1 2001/10/31 23:27:25 zuntum Exp $ +# $NetBSD: INSTALL,v 1.2 2003/08/30 20:23:01 jlam Exp $ PKGNAME=$1 STAGE=$2 @@ -15,9 +15,6 @@ CONFFILES="lpd.conf lpd.perms" NONCONFFILES="printcap" case ${STAGE} in -PRE-INSTALL) - ;; - POST-INSTALL) echo "Installing configuration files:" for file in ${CONFFILES} ${NONCONFFILES} @@ -48,10 +45,5 @@ EOF =========================================================================== EOF ;; - -*) - echo "Unexpected argument: ${STAGE}" - exit 1 - ;; esac exit 0 |