pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/pkgtools/xpkgwedge Treat an empty HOSTDEF file as if i...
details: https://anonhg.NetBSD.org/pkgsrc/rev/c074a74234f2
branches: trunk
changeset: 463901:c074a74234f2
user: gavan <gavan%pkgsrc.org@localhost>
date: Tue Dec 02 15:41:55 2003 +0000
description:
Treat an empty HOSTDEF file as if it didn't exist.
>From Greg A. Woods. Fixes PR pkg/22957.
diffstat:
pkgtools/xpkgwedge/INSTALL | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r cb36ca932c47 -r c074a74234f2 pkgtools/xpkgwedge/INSTALL
--- a/pkgtools/xpkgwedge/INSTALL Tue Dec 02 12:36:00 2003 +0000
+++ b/pkgtools/xpkgwedge/INSTALL Tue Dec 02 15:41:55 2003 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: INSTALL,v 1.8 2003/11/23 07:09:12 jlam Exp $
+# $NetBSD: INSTALL,v 1.9 2003/12/02 15:41:55 gavan Exp $
FONT_PROGS="@FONT_PROGS@"
X11BASE=@X11BASE@
@@ -28,7 +28,7 @@
;;
VIEW-INSTALL)
- if [ ${PKG_PREFIX} = ${X11BASE} -o -f ${HOSTDEF} ]; then
+ if [ ${PKG_PREFIX} = ${X11BASE} -o -s ${HOSTDEF} ]; then
${ECHO} -n "Updating ${HOSTDEF}..."
${CP} -f ${HOSTDEF} ${HOSTDEF}.bak
else
Home |
Main Index |
Thread Index |
Old Index