fix PREFIX for INSTALL so the symlink is pointing at the right place;

pvalchev@ ok
This commit is contained in:
lebel 2004-03-11 20:54:14 +00:00
parent 42763a475a
commit 361a1b5d1a
2 changed files with 4 additions and 4 deletions

View File

@ -1,11 +1,11 @@
#!/bin/sh
# $OpenBSD: DEINSTALL,v 1.2 2003/12/06 11:28:54 espie Exp $
# $OpenBSD: DEINSTALL,v 1.3 2004/03/11 20:54:14 lebel Exp $
#
# redhat_base de-installation
set -e
PATH=/bin:/usr/bin:/sbin:/usr/sbin
PREFIX=${PREFIX}
PREFIX=${PREFIX:-/usr/local}/emul/redhat
if [ -L /emul/linux -a x`readlink /emul/linux` = x"$PREFIX" ]; then
rm -f /emul/linux

View File

@ -1,5 +1,5 @@
#!/bin/sh
# $OpenBSD: INSTALL,v 1.3 2003/12/06 11:28:54 espie Exp $
# $OpenBSD: INSTALL,v 1.4 2004/03/11 20:54:14 lebel Exp $
#
# Pre/post-installation setup of redhat_base
@ -7,7 +7,7 @@
#
set -e
PATH=/bin:/usr/bin:/sbin:/usr/sbin
PREFIX=${PREFIX}
PREFIX=${PREFIX:-/usr/local}/emul/redhat
# Function: tell the user what s/he needs to do to use the port just installed
#