[38847] trunk/dports/aqua/ihook/Portfile

ryandesign at macports.org ryandesign at macports.org
Fri Aug 1 03:19:02 PDT 2008


Revision: 38847
          http://trac.macosforge.org/projects/macports/changeset/38847
Author:   ryandesign at macports.org
Date:     2008-08-01 03:19:01 -0700 (Fri, 01 Aug 2008)
Log Message:
-----------
ihook: fix destroot when not installing as root

Modified Paths:
--------------
    trunk/dports/aqua/ihook/Portfile

Modified: trunk/dports/aqua/ihook/Portfile
===================================================================
--- trunk/dports/aqua/ihook/Portfile	2008-08-01 09:52:41 UTC (rev 38846)
+++ trunk/dports/aqua/ihook/Portfile	2008-08-01 10:19:01 UTC (rev 38847)
@@ -33,6 +33,11 @@
 }
 
 post-destroot {
+    fs-traverse dir ${destroot} {
+        if {[file isdirectory ${dir}]} {
+            file attributes ${dir} -permissions u+w
+        }
+    }
     move ${destroot}${applications_dir}/shookexec \
         ${destroot}${applications_dir}/${my_name}.app/Contents/Resources
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080801/850ca2db/attachment.html 


More information about the macports-changes mailing list