[Xfce4-commits] r29390 - in installit/branches/installer-single-file: . i2t-generate/InstallIt/Generators

Jannis Pohlmann jannis at xfce.org
Mon Jan 26 14:23:41 CET 2009


Author: jannis
Date: 2009-01-26 13:23:41 +0000 (Mon, 26 Jan 2009)
New Revision: 29390

Modified:
   installit/branches/installer-single-file/ChangeLog
   installit/branches/installer-single-file/i2t-generate/InstallIt/Generators/Control.rb
Log:
	* i2t-generate/InstallIt/Generators/Control.rb: Create directory
	  ${PREFIX}/share/applications before trying to install the
		i2t-uninstaller desktop entry in there.

Modified: installit/branches/installer-single-file/ChangeLog
===================================================================
--- installit/branches/installer-single-file/ChangeLog	2009-01-26 12:58:09 UTC (rev 29389)
+++ installit/branches/installer-single-file/ChangeLog	2009-01-26 13:23:41 UTC (rev 29390)
@@ -1,3 +1,9 @@
+2009-01-26	Jannis Pohlmann <jannis at xfce.org>
+
+	* i2t-generate/InstallIt/Generators/Control.rb: Create directory
+	  ${PREFIX}/share/applications before trying to install the 
+		i2t-uninstaller desktop entry in there.
+
 2007-01-19	Benedikt Meurer <benny at xfce.org>
 
 	* ChangeLog: Fix copy and paste...

Modified: installit/branches/installer-single-file/i2t-generate/InstallIt/Generators/Control.rb
===================================================================
--- installit/branches/installer-single-file/i2t-generate/InstallIt/Generators/Control.rb	2009-01-26 12:58:09 UTC (rev 29389)
+++ installit/branches/installer-single-file/i2t-generate/InstallIt/Generators/Control.rb	2009-01-26 13:23:41 UTC (rev 29390)
@@ -238,6 +238,7 @@
     echo
     exit 1
   fi
+  mkdir -p "${PREFIX}/share/applications"
   cat > "${PREFIX}/share/applications/i2t-uninstaller.desktop" <<EOF
 [Desktop Entry]
 Encoding=UTF-8




More information about the Xfce4-commits mailing list