${PREFIX} -> $PREFIX
This commit is contained in:
parent
c9e6485287
commit
741dcf88ff
@ -1,5 +1,5 @@
|
||||
#!/bin/sh
|
||||
# $OpenBSD: DEINSTALL,v 1.2 2000/07/19 09:31:24 brad Exp $
|
||||
# $OpenBSD: DEINSTALL,v 1.3 2001/04/04 01:41:47 brad Exp $
|
||||
#
|
||||
# tcsh de-installation
|
||||
|
||||
@ -7,13 +7,13 @@ set -e
|
||||
PATH=/bin:/usr/bin:/sbin:/usr/sbin
|
||||
PREFIX=${PKG_PREFIX:-/usr/local}
|
||||
|
||||
if grep -q ${PREFIX}/bin/tcsh /etc/shells; then
|
||||
if grep -q $PREFIX/bin/tcsh /etc/shells; then
|
||||
echo
|
||||
echo "+---------------"
|
||||
echo "| To completely deinstall the $1 package you need to edit"
|
||||
echo "| /etc/shells and remove this line:"
|
||||
echo "|"
|
||||
echo "| ${PREFIX}/bin/tcsh"
|
||||
echo "| $PREFIX/bin/tcsh"
|
||||
echo "|"
|
||||
echo "+---------------"
|
||||
echo
|
||||
|
@ -1,5 +1,5 @@
|
||||
#!/bin/sh
|
||||
# $OpenBSD: INSTALL,v 1.2 2000/07/04 22:36:46 brad Exp $
|
||||
# $OpenBSD: INSTALL,v 1.3 2001/04/04 01:41:47 brad Exp $
|
||||
#
|
||||
# Pre/post-installation setup of tcsh
|
||||
|
||||
@ -16,7 +16,7 @@ do_notice()
|
||||
echo
|
||||
echo "+---------------"
|
||||
echo "| For proper use of $1 you should notify the system"
|
||||
echo "| that ${PREFIX}/bin/tcsh is a valid shell by adding it to the"
|
||||
echo "| that $PREFIX/bin/tcsh is a valid shell by adding it to the"
|
||||
echo "| the file /etc/shells. If you are unfamiliar with this file"
|
||||
echo "| consult the shells(5) manual page"
|
||||
echo "+---------------"
|
||||
@ -37,7 +37,7 @@ case $2 in
|
||||
: nothing to pre-install for this port
|
||||
;;
|
||||
POST-INSTALL)
|
||||
if grep -q ${PREFIX}/bin/tcsh /etc/shells; then
|
||||
if grep -q $PREFIX/bin/tcsh /etc/shells; then
|
||||
:
|
||||
else
|
||||
do_notice $1
|
||||
|
Loading…
Reference in New Issue
Block a user