remove accidental hardcoding of /etc
SUBST_VARS substitution requires ${VARNAME} format
This commit is contained in:
parent
ca8cd1593c
commit
c697936bcd
@ -1,12 +1,12 @@
|
|||||||
#!/bin/sh
|
#!/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
|
# pwm de-installation
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
PATH=/bin:/usr/bin:/sbin:/usr/sbin
|
PATH=/bin:/usr/bin:/sbin:/usr/sbin
|
||||||
PREFIX=${PKG_PREFIX:-/usr/local}
|
PREFIX=${PKG_PREFIX:-/usr/local}
|
||||||
CONFIG_DIR=${SYSCONFDIR:-/etc}/pwm
|
CONFIG_DIR=${SYSCONFDIR}/pwm
|
||||||
|
|
||||||
if [ -d $CONFIG_DIR ]; then
|
if [ -d $CONFIG_DIR ]; then
|
||||||
echo
|
echo
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#!/bin/sh
|
#!/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
|
# Pre/post-installation setup of pwm
|
||||||
|
|
||||||
# exit on errors, use a sane path and install prefix
|
# exit on errors, use a sane path and install prefix
|
||||||
@ -8,7 +8,7 @@
|
|||||||
set -e
|
set -e
|
||||||
PATH=/bin:/usr/bin:/sbin:/usr/sbin
|
PATH=/bin:/usr/bin:/sbin:/usr/sbin
|
||||||
PREFIX=${PKG_PREFIX:-/usr/local}
|
PREFIX=${PKG_PREFIX:-/usr/local}
|
||||||
CONFIG_DIR=${SYSCONFDIR:-/etc}/pwm
|
CONFIG_DIR=${SYSCONFDIR}/pwm
|
||||||
SAMPLE_CONFIG_DIR=$PREFIX/share/examples/pwm
|
SAMPLE_CONFIG_DIR=$PREFIX/share/examples/pwm
|
||||||
|
|
||||||
do_notice()
|
do_notice()
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#!/bin/sh
|
#!/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
|
# De-installation setup of xloadimage
|
||||||
|
|
||||||
@ -8,7 +8,7 @@
|
|||||||
set -e
|
set -e
|
||||||
PATH=/bin:/usr/bin:/sbin:/usr/sbin
|
PATH=/bin:/usr/bin:/sbin:/usr/sbin
|
||||||
PREFIX=${PKG_PREFIX:-/usr/local}
|
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
|
# Function: tell the user what they need to do to delete the port completely
|
||||||
#
|
#
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#!/bin/sh
|
#!/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
|
# Pre/post-installation setup of xloadimage
|
||||||
|
|
||||||
@ -8,7 +8,7 @@
|
|||||||
set -e
|
set -e
|
||||||
PATH=/bin:/usr/bin:/sbin:/usr/sbin
|
PATH=/bin:/usr/bin:/sbin:/usr/sbin
|
||||||
PREFIX=${PKG_PREFIX:-/usr/local}
|
PREFIX=${PKG_PREFIX:-/usr/local}
|
||||||
CONFIG_FILE=${SYSCONFDIR:-/etc}/xloadimagerc
|
CONFIG_FILE=${SYSCONFDIR}/xloadimagerc
|
||||||
SAMPLE_CONFIG_DIR=$PREFIX/share/examples/xloadimage
|
SAMPLE_CONFIG_DIR=$PREFIX/share/examples/xloadimage
|
||||||
|
|
||||||
# Function: tell the user what they need to do to use the port just installed
|
# Function: tell the user what they need to do to use the port just installed
|
||||||
|
Loading…
Reference in New Issue
Block a user