remove accidental hardcoding of /etc

SUBST_VARS substitution requires ${VARNAME} format
This commit is contained in:
naddy 2002-03-08 11:50:56 +00:00
parent ca8cd1593c
commit c697936bcd
4 changed files with 8 additions and 8 deletions

View File

@ -1,12 +1,12 @@
#!/bin/sh
#
# $OpenBSD: DEINSTALL,v 1.1 2002/02/20 12:47:55 naddy Exp $
# $OpenBSD: DEINSTALL,v 1.2 2002/03/08 11:50:56 naddy Exp $
# pwm de-installation
set -e
PATH=/bin:/usr/bin:/sbin:/usr/sbin
PREFIX=${PKG_PREFIX:-/usr/local}
CONFIG_DIR=${SYSCONFDIR:-/etc}/pwm
CONFIG_DIR=${SYSCONFDIR}/pwm
if [ -d $CONFIG_DIR ]; then
echo

View File

@ -1,6 +1,6 @@
#!/bin/sh
#
# $OpenBSD: INSTALL,v 1.1 2002/02/20 12:47:55 naddy Exp $
# $OpenBSD: INSTALL,v 1.2 2002/03/08 11:50:57 naddy Exp $
# Pre/post-installation setup of pwm
# exit on errors, use a sane path and install prefix
@ -8,7 +8,7 @@
set -e
PATH=/bin:/usr/bin:/sbin:/usr/sbin
PREFIX=${PKG_PREFIX:-/usr/local}
CONFIG_DIR=${SYSCONFDIR:-/etc}/pwm
CONFIG_DIR=${SYSCONFDIR}/pwm
SAMPLE_CONFIG_DIR=$PREFIX/share/examples/pwm
do_notice()

View File

@ -1,5 +1,5 @@
#!/bin/sh
# $OpenBSD: DEINSTALL,v 1.1 2001/07/10 21:12:01 naddy Exp $
# $OpenBSD: DEINSTALL,v 1.2 2002/03/08 11:50:57 naddy Exp $
#
# De-installation setup of xloadimage
@ -8,7 +8,7 @@
set -e
PATH=/bin:/usr/bin:/sbin:/usr/sbin
PREFIX=${PKG_PREFIX:-/usr/local}
CONFIG_FILE=${SYSCONFDIR:-/etc}/xloadimagerc
CONFIG_FILE=${SYSCONFDIR}/xloadimagerc
# Function: tell the user what they need to do to delete the port completely
#

View File

@ -1,5 +1,5 @@
#!/bin/sh
# $OpenBSD: INSTALL,v 1.1 2001/07/10 21:12:02 naddy Exp $
# $OpenBSD: INSTALL,v 1.2 2002/03/08 11:50:57 naddy Exp $
#
# Pre/post-installation setup of xloadimage
@ -8,7 +8,7 @@
set -e
PATH=/bin:/usr/bin:/sbin:/usr/sbin
PREFIX=${PKG_PREFIX:-/usr/local}
CONFIG_FILE=${SYSCONFDIR:-/etc}/xloadimagerc
CONFIG_FILE=${SYSCONFDIR}/xloadimagerc
SAMPLE_CONFIG_DIR=$PREFIX/share/examples/xloadimage
# Function: tell the user what they need to do to use the port just installed