Update of /cvsroot/fink/dists/10.4/unstable/main/finkinfo/x11
In directory 
sc8-pr-cvs17.sourceforge.net:/tmp/cvs-serv18689/10.4-public/unstable/main/finkinfo/x11

Modified Files:
        fontconfig-path-10.5.info 
Log Message:
Fix bash syntax-error; switch to patchfile syntax


Index: fontconfig-path-10.5.info
===================================================================
RCS file: 
/cvsroot/fink/dists/10.4/unstable/main/finkinfo/x11/fontconfig-path-10.5.info,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- fontconfig-path-10.5.info   4 Nov 2007 00:32:40 -0000       1.1
+++ fontconfig-path-10.5.info   27 Jun 2008 20:25:26 -0000      1.2
@@ -1,10 +1,13 @@
 Package: fontconfig-path
 Version: 20071103
-Revision: 1
+Revision: 2
 Distribution: 10.5
 Type: nosource
 NoSourceDirectory: true
-PatchScript: sed 's|@PREFIX@|%p|' %a/%n-10.5.patch | patch -p1
+BuildDepends: fink (>= 0.24.12)
+PatchFile: %n-10.5.patch
+PatchFile-MD5: 5e61e8e0c904d13b8c4c50f106fcc96c
+PatchScript: sed 's|@PREFIX@|%p|' %{PatchFile} | patch -p1
 CompileScript: echo "No compile needed"
 InstallScript: <<
 mkdir -p %i/share/%n
@@ -14,7 +17,7 @@
 cp %n.*sh %i/etc/profile.d
 <<
 PostRmScript: <<
-  if [["$1" == "remove" || "$1" == "purge"]]; then
+  if [[ "$1" == "remove" || "$1" == "purge" ]]; then
     rm -rf %p/share/fontconfig-path
     FONTCONFIG_FILE=/usr/X11/lib/X11/fonts/fonts.conf fc-cache || echo 
Ignoring errors...
   fi


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.cvs

Reply via email to