[Fusionforge-commits] r11277 - trunk/src/debian

Christian Bayle cbayle at libremir.placard.fr.eu.org
Mon Nov 1 00:30:19 CET 2010


Author: cbayle
Date: 2010-11-01 00:30:19 +0100 (Mon, 01 Nov 2010)
New Revision: 11277

Modified:
   trunk/src/debian/rules
Log:
Fix Plugin long name


Modified: trunk/src/debian/rules
===================================================================
--- trunk/src/debian/rules	2010-10-31 23:30:06 UTC (rev 11276)
+++ trunk/src/debian/rules	2010-10-31 23:30:19 UTC (rev 11277)
@@ -61,10 +61,10 @@
 conffiles: $(PPOSTINST) $(PPRERM) $(CRONDFILES) $(DIRSFILES) $(LINKSFILES) $(INSTALLFILES) $(DOCSFILES) $(PCRONDFILES) $(PDIRSFILES) $(PLINKSFILES) $(PINSTALLFILES) $(PDOCSFILES) debian/control
 
 debian/$(PACKAGE)-plugin-%.postinst:
-	$(SED_REPLACE) -e 's/@PLUGSHORTNAME@/$*/g' -e 's/@PLUGLONGNAME@/`cat plugins/$*/NAME`/g' $(CURDIR)/debian/dsf-in/plugin.postinst > $@
+	PLUGLONGNAME="`cat plugins/$*/NAME`" $(SED_REPLACE) -e 's/@PLUGSHORTNAME@/$*/g' -e "s/@PLUGLONGNAME@/$$PLUGLONGNAME/g" $(CURDIR)/debian/dsf-in/plugin.postinst > $@
 
 debian/$(PACKAGE)-plugin-%.prerm:
-	$(SED_REPLACE) -e 's/@PLUGSHORTNAME@/$*/g' -e 's/@PLUGLONGNAME@/`cat plugins/$*/NAME`/g' $(CURDIR)/debian/dsf-in/plugin.prerm > $@
+	PLUGLONGNAME="`cat plugins/$*/NAME`" $(SED_REPLACE) -e 's/@PLUGSHORTNAME@/$*/g' -e "s/@PLUGLONGNAME@/$$PLUGLONGNAME/g" $(CURDIR)/debian/dsf-in/plugin.prerm > $@
 
 debian/$(PACKAGE)-plugin-%.cron.d:
 	sed -e 's/\$$FFUSER/$(OLDPACKAGE)/g' $(CURDIR)/plugins/$*/packaging/cron.d/plugin-$* > $@




More information about the Fusionforge-commits mailing list