From 0085c3136b80ce723f03adc82cd9e591770a527a Mon Sep 17 00:00:00 2001 From: espie Date: Sun, 26 Sep 1999 20:51:21 +0000 Subject: [PATCH] -e instead of -f... People may have some weird arrangement. --- misc/screen/pkg/DEINSTALL | 5 +++-- misc/screen/pkg/INSTALL | 4 ++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/misc/screen/pkg/DEINSTALL b/misc/screen/pkg/DEINSTALL index 768dec7c169..f70cae68c5f 100644 --- a/misc/screen/pkg/DEINSTALL +++ b/misc/screen/pkg/DEINSTALL @@ -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" diff --git a/misc/screen/pkg/INSTALL b/misc/screen/pkg/INSTALL index ba87e8529c1..d8107acb0a6 100644 --- a/misc/screen/pkg/INSTALL +++ b/misc/screen/pkg/INSTALL @@ -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