-e instead of -f... People may have some weird arrangement.

This commit is contained in:
espie 1999-09-26 20:51:21 +00:00
parent 156e94e6dd
commit 0085c3136b
2 changed files with 5 additions and 4 deletions

View File

@ -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"

View File

@ -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