[izpack-changes] r1874 - in izpack-src/trunk: . src/lib/com/izforge/izpack/util

noreply at berlios.de noreply at berlios.de
Mon Sep 24 20:28:38 CEST 2007


Author: jponge
Date: 2007-09-24 20:28:25 +0200 (Mon, 24 Sep 2007)
New Revision: 1874

Modified:
   izpack-src/trunk/Versions.txt
   izpack-src/trunk/src/lib/com/izforge/izpack/util/FileExecutor.java
Log:
chmod only applies and executes when file type is set to bin (Andreas Guenther via Julien Ponge)


Modified: izpack-src/trunk/Versions.txt
===================================================================
--- izpack-src/trunk/Versions.txt	2007-09-14 19:42:19 UTC (rev 1873)
+++ izpack-src/trunk/Versions.txt	2007-09-24 18:28:25 UTC (rev 1874)
@@ -32,9 +32,7 @@
   (Gilles Wiart via Julien Ponge)
 - Hungarian langpack update (Kerekes Balazs via Julien Ponge)
 - InstallGroupPanel: sortable InstallGroups (Markus Schlegel via Julien Ponge)
-
-  > 3.10.3 (build xxxx.xx.xx)
-
+- chmod only applies and executes when file type is set to bin (Andreas Guenther via Julien Ponge)
 - LayoutManager bug at handling EditorPanes fixed (width to small) (Klaus Bartz)
 - Fixed NPE when ypcat not installed on linux. (Dick Hollenbeck via Marc Eppelmann)
 

Modified: izpack-src/trunk/src/lib/com/izforge/izpack/util/FileExecutor.java
===================================================================
--- izpack-src/trunk/src/lib/com/izforge/izpack/util/FileExecutor.java	2007-09-14 19:42:19 UTC (rev 1873)
+++ izpack-src/trunk/src/lib/com/izforge/izpack/util/FileExecutor.java	2007-09-24 18:28:25 UTC (rev 1874)
@@ -256,7 +256,7 @@
             // at all)
             if (!OsConstraint.oneMatchesCurrentSystem(efile.osList)) continue;
 
-            if (currentStage != ExecutableFile.UNINSTALL && OsVersion.IS_UNIX)
+            if (ExecutableFile.BIN == efile.type && currentStage != ExecutableFile.UNINSTALL && OsVersion.IS_UNIX)
             {
                 // fix executable permission for unix systems
                 Debug.trace("making file executable (setting executable flag)");



More information about the izpack-changes mailing list