[38117] trunk/dports/aqua/osxvnc/Portfile
ryandesign at macports.org
ryandesign at macports.org
Sun Jul 6 22:53:48 PDT 2008
Revision: 38117
http://trac.macosforge.org/projects/macports/changeset/38117
Author: ryandesign at macports.org
Date: 2008-07-06 22:53:48 -0700 (Sun, 06 Jul 2008)
Log Message:
-----------
osxvnc: fix permissions so the port can be installed and the build directory can be cleaned up afterwards even if the user is not root
Modified Paths:
--------------
trunk/dports/aqua/osxvnc/Portfile
Modified: trunk/dports/aqua/osxvnc/Portfile
===================================================================
--- trunk/dports/aqua/osxvnc/Portfile 2008-07-07 05:32:48 UTC (rev 38116)
+++ trunk/dports/aqua/osxvnc/Portfile 2008-07-07 05:53:48 UTC (rev 38117)
@@ -34,6 +34,15 @@
}
}
+post-destroot {
+ # Fix permissions for users not installing with root
+ fs-traverse dir ${workpath} {
+ if {[file isdirectory ${dir}]} {
+ file attributes ${dir} -permissions 0755
+ }
+ }
+}
+
variant universal {}
if {! [variant_isset universal]} {
set arch ${os.arch}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080706/089e5d78/attachment.html
More information about the macports-changes
mailing list