[29959] trunk/dports/sysutils/zeroinstall-injector-devel/Portfile
source_changes at macosforge.org
source_changes at macosforge.org
Tue Oct 16 13:38:11 PDT 2007
Revision: 29959
http://trac.macosforge.org/projects/macports/changeset/29959
Author: afb at macports.org
Date: 2007-10-16 13:38:11 -0700 (Tue, 16 Oct 2007)
Log Message:
-----------
fix the shared cache user creation, sorry about my half-commmit earlier (thanks dluke)
Modified Paths:
--------------
trunk/dports/sysutils/zeroinstall-injector-devel/Portfile
Modified: trunk/dports/sysutils/zeroinstall-injector-devel/Portfile
===================================================================
--- trunk/dports/sysutils/zeroinstall-injector-devel/Portfile 2007-10-16 19:54:26 UTC (rev 29958)
+++ trunk/dports/sysutils/zeroinstall-injector-devel/Portfile 2007-10-16 20:38:11 UTC (rev 29959)
@@ -50,7 +50,10 @@
# This is not used by default, but is required if you want to
# set up sharing of downloads later.
-post-build {
+post-destroot {
adduser zeroinst shell=/sbin/nologin
- destroot.keepdirs ${destroot}${prefix}/var/cache/0install.net/implementations
+ xinstall -d ${destroot}${prefix}/var/cache/0install.net/implementations
+ file attributes ${destroot}${prefix}/var/cache/0install.net -owner zeroinst
+ file attributes ${destroot}${prefix}/var/cache/0install.net/implementations -owner zeroinst
}
+destroot.keepdirs ${destroot}${prefix}/var/cache/0install.net/implementations
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20071016/852b0a42/attachment.html
More information about the macports-changes
mailing list