fix PREFIX so the symlink have the appropriate value instead of LOCALBASE

pvalchev@ ok.
This commit is contained in:
lebel 2004-03-11 20:33:11 +00:00
parent 0b255cf6bd
commit 42763a475a
2 changed files with 4 additions and 4 deletions

View File

@ -1,11 +1,11 @@
#!/bin/sh
# $OpenBSD: DEINSTALL,v 1.2 2001/02/14 22:13:09 brad Exp $
# $OpenBSD: DEINSTALL,v 1.3 2004/03/11 20:33:11 lebel Exp $
#
# freebsd_lib de-installation
set -e
PATH=/bin:/usr/bin:/sbin:/usr/sbin
PREFIX=${PKG_PREFIX:-/usr/local/emul/freebsd}
PREFIX=${PKG_PREFIX:-/usr/local}/emul/freebsd
if [ -L /emul/freebsd -a x`readlink /emul/freebsd` = x"$PREFIX" ]; then
rm -f /emul/freebsd

View File

@ -1,5 +1,5 @@
#!/bin/sh
# $OpenBSD: INSTALL,v 1.6 2004/01/09 19:08:34 sturm Exp $
# $OpenBSD: INSTALL,v 1.7 2004/03/11 20:33:11 lebel Exp $
#
# Pre/post-installation setup of freebsd_lib
@ -7,7 +7,7 @@
#
set -e
PATH=/bin:/usr/bin:/sbin:/usr/sbin
PREFIX=${PKG_PREFIX:-/usr/local/emul/freebsd}
PREFIX=${PKG_PREFIX:-/usr/local}/emul/freebsd
# Function: tell the user what s/he needs to do to use the port just installed
#