Update of /cvsroot/fink/base-files
In directory sc8-pr-cvs5.sourceforge.net:/tmp/cvs-serv24350

Modified Files:
      Tag: dpkg-wrappers
        ChangeLog postinst.in postrm.in preinst.in prerm.in 
Log Message:
If wrapper is passed a blank scriptname, don't run the blank.


Index: postrm.in
===================================================================
RCS file: /cvsroot/fink/base-files/Attic/postrm.in,v
retrieving revision 1.1.2.1
retrieving revision 1.1.2.2
diff -u -d -r1.1.2.1 -r1.1.2.2
--- postrm.in   26 Jul 2006 06:44:03 -0000      1.1.2.1
+++ postrm.in   4 Aug 2006 20:05:46 -0000       1.1.2.2
@@ -2,4 +2,4 @@
 
 . @PREFIX@/bin/init.sh
 
-"$@"
+[ -z $1 ] || "$@"

Index: postinst.in
===================================================================
RCS file: /cvsroot/fink/base-files/Attic/postinst.in,v
retrieving revision 1.1.2.1
retrieving revision 1.1.2.2
diff -u -d -r1.1.2.1 -r1.1.2.2
--- postinst.in 26 Jul 2006 06:44:03 -0000      1.1.2.1
+++ postinst.in 4 Aug 2006 20:05:46 -0000       1.1.2.2
@@ -2,4 +2,4 @@
 
 . @PREFIX@/bin/init.sh
 
-"$@"
+[ -z $1 ] || "$@"

Index: prerm.in
===================================================================
RCS file: /cvsroot/fink/base-files/Attic/prerm.in,v
retrieving revision 1.1.2.1
retrieving revision 1.1.2.2
diff -u -d -r1.1.2.1 -r1.1.2.2
--- prerm.in    26 Jul 2006 06:44:03 -0000      1.1.2.1
+++ prerm.in    4 Aug 2006 20:05:46 -0000       1.1.2.2
@@ -2,4 +2,4 @@
 
 . @PREFIX@/bin/init.sh
 
-"$@"
+[ -z $1 ] || "$@"

Index: preinst.in
===================================================================
RCS file: /cvsroot/fink/base-files/Attic/preinst.in,v
retrieving revision 1.1.2.1
retrieving revision 1.1.2.2
diff -u -d -r1.1.2.1 -r1.1.2.2
--- preinst.in  26 Jul 2006 06:44:03 -0000      1.1.2.1
+++ preinst.in  4 Aug 2006 20:05:46 -0000       1.1.2.2
@@ -2,4 +2,4 @@
 
 . @PREFIX@/bin/init.sh
 
-"$@"
+[ -z $1 ] || "$@"

Index: ChangeLog
===================================================================
RCS file: /cvsroot/fink/base-files/ChangeLog,v
retrieving revision 1.43.2.2
retrieving revision 1.43.2.3
diff -u -d -r1.43.2.2 -r1.43.2.3
--- ChangeLog   26 Jul 2006 06:48:17 -0000      1.43.2.2
+++ ChangeLog   4 Aug 2006 20:05:46 -0000       1.43.2.3
@@ -1,3 +1,8 @@
+2006-08-04  Daniel Macks  <[EMAIL PROTECTED]>
+
+       * preinst.in, postinst.in, prerm.in, postrm.in: If $1 (path to
+       script) is "", don't try to run it.
+
 2006-07-26  Daniel Macks  <[EMAIL PROTECTED]>
 
        * setup.sh, install.sh: Move dpkg-wrappers script creation from


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-commits

Reply via email to