-e instead of -f... People may have some weird arrangement.
This commit is contained in:
parent
156e94e6dd
commit
0085c3136b
@ -1,4 +1,5 @@
|
||||
# $OpenBSD: DEINSTALL,v 1.1 1999/04/09 03:15:19 marc Exp $
|
||||
#!/bin/sh
|
||||
# $OpenBSD: DEINSTALL,v 1.2 1999/09/26 20:51:22 espie Exp $
|
||||
#
|
||||
# screen de-installation
|
||||
|
||||
@ -7,7 +8,7 @@ PATH=/bin:/usr/bin:/sbin:/usr/sbin
|
||||
PREFIX=${PKG_PREFIX:-/usr/local}
|
||||
SCREENRC=/etc/screenrc
|
||||
|
||||
if [ -f ${SCREENRC} ]; then
|
||||
if [ -e ${SCREENRC} ]; then
|
||||
echo
|
||||
echo "+---------------"
|
||||
echo "| To completely deinstall the $1 package you need to perform"
|
||||
|
@ -1,5 +1,5 @@
|
||||
#!/bin/sh
|
||||
# $OpenBSD: INSTALL,v 1.1 1999/04/09 03:15:19 marc Exp $
|
||||
# $OpenBSD: INSTALL,v 1.2 1999/09/26 20:51:21 espie Exp $
|
||||
#
|
||||
# Pre/post-installation setup of screen
|
||||
|
||||
@ -61,7 +61,7 @@ case $2 in
|
||||
: nothing to pre-install for this port
|
||||
;;
|
||||
POST-INSTALL)
|
||||
if [ -f ${SCREENRC} ]; then
|
||||
if [ -e ${SCREENRC} ]; then
|
||||
do_notice $1
|
||||
else
|
||||
do_install $1
|
||||
|
Loading…
Reference in New Issue
Block a user