This is the mail archive of the cygwin-apps@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

enscript-1.6.3-2 postinstall script bug


The enscript-1.6.3-2 package's postinstall script tries to copy
/etc/enscript.cfg.default to /etc/enscript/cfg instead of /etc/enscript.cfg,
which doesn't work so well. Not a big deal, but it wouldn't hurt to fix it.
There's a patch below; I can provide an updated package file if necessary,
but I figured it'd be best to give the package maintainer first crack at it.

- Bradey

diff -ruN enscript-1.6.3-2/etc/postinstall/enscript.sh
enscript-1.6.3-2-fixed/etc/postinstall/enscript.sh
--- enscript-1.6.3-2/etc/postinstall/enscript.sh	2002-04-16
11:52:33.000000000 -0700
+++ enscript-1.6.3-2-fixed/etc/postinstall/enscript.sh	2002-06-26
13:57:11.000000000 -0700
@@ -10,5 +10,5 @@
 fi
 
 if [ ! -e /etc/enscript.cfg ] ; then
-	cp /etc/enscript.cfg.default /etc/enscript/cfg
+	cp /etc/enscript.cfg.default /etc/enscript.cfg
 fi


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]