diff options
author | jlam <jlam@pkgsrc.org> | 2003-08-30 20:22:49 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2003-08-30 20:22:49 +0000 |
commit | 2920a32c71bae3a6a02b2c5c0576d9a60b9a0594 (patch) | |
tree | d334e2fd95050def4488e848ea48612e6f9103a4 /fonts/ja-kappa20 | |
parent | 2ebf5a7dc8b33d5f29466890b65a69e886f19281 (diff) | |
download | pkgsrc-2920a32c71bae3a6a02b2c5c0576d9a60b9a0594.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 'fonts/ja-kappa20')
-rw-r--r-- | fonts/ja-kappa20/DEINSTALL | 16 | ||||
-rw-r--r-- | fonts/ja-kappa20/INSTALL | 15 |
2 files changed, 3 insertions, 28 deletions
diff --git a/fonts/ja-kappa20/DEINSTALL b/fonts/ja-kappa20/DEINSTALL index 339e3b641a8..ad12ec6f6f0 100644 --- a/fonts/ja-kappa20/DEINSTALL +++ b/fonts/ja-kappa20/DEINSTALL @@ -1,26 +1,12 @@ -#!/bin/sh -# -# $NetBSD: DEINSTALL,v 1.1.1.1 2003/03/15 20:40:56 kei Exp $ +# $NetBSD: DEINSTALL,v 1.2 2003/08/30 20:22:52 jlam Exp $ ALIAS=@FONTDIR@/fonts.alias case ${STAGE} in -PRE-DEINSTALL) - ;; - -DEINSTALL) - ;; - POST-DEINSTALL) ${SED} -e '/^-- BEGIN Kappa20 --/,/^-- END Kappa20 --/d' \ < ${ALIAS} > ${ALIAS}.new ${MV} ${ALIAS}.new ${ALIAS} mkfontdir @FONTDIR@ ;; - -*) - ${ECHO} "Unexpected argument: ${STAGE}" - exit 1 - ;; - esac diff --git a/fonts/ja-kappa20/INSTALL b/fonts/ja-kappa20/INSTALL index e1dcebcb77f..9ee012ec24d 100644 --- a/fonts/ja-kappa20/INSTALL +++ b/fonts/ja-kappa20/INSTALL @@ -1,19 +1,14 @@ -#!/bin/sh -# -# $NetBSD: INSTALL,v 1.1.1.1 2003/03/15 20:40:56 kei Exp $ +# $NetBSD: INSTALL,v 1.2 2003/08/30 20:22:52 jlam Exp $ ALIAS=@FONTDIR@/fonts.alias case ${STAGE} in -PRE-INSTALL) - ;; - POST-INSTALL) ${ECHO} '-- BEGIN Kappa20 --' >> ${ALIAS} ${CAT} @ALIAS_KAPPA@ >> ${ALIAS} ${ECHO} >> ${ALIAS} ${ECHO} '!! kappa20 generic aliases' >> ${ALIAS} - $CAT @ALIAS_KAPPA@ | \ + ${CAT} @ALIAS_KAPPA@ | \ ${GREP} 'kappa-.*-kappa-' | \ ${SED} -e 's,kappa-,misc-,' >> ${ALIAS} ${CAT} @ALIAS_KAPPA@ | \ @@ -23,10 +18,4 @@ POST-INSTALL) ${ECHO} '-- END Kappa20 --' >> ${ALIAS} mkfontdir @FONTDIR@ ;; - -*) - ${ECHO} "Unexpected argument: ${STAGE}" - exit 1 - ;; - esac |