aboutsummaryrefslogtreecommitdiffstats
path: root/main/abuild/abuild.pre-install
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2011-01-10 13:31:17 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2011-01-10 13:33:34 +0000
commit042a94e3e1becc30b4e8099ed59a0ecf9a5f8ffa (patch)
treeed5afa9123c98de573f7f0363759f5496e64cc0f /main/abuild/abuild.pre-install
parentfe577d2a1f5812b76440fefdf42448b6058d6bd0 (diff)
downloadaports-042a94e3e1becc30b4e8099ed59a0ecf9a5f8ffa.tar.bz2
aports-042a94e3e1becc30b4e8099ed59a0ecf9a5f8ffa.tar.xz
main/abuild: create /var/cache/distfiles dir and abuild group
Diffstat (limited to 'main/abuild/abuild.pre-install')
-rw-r--r--main/abuild/abuild.pre-install6
1 files changed, 6 insertions, 0 deletions
diff --git a/main/abuild/abuild.pre-install b/main/abuild/abuild.pre-install
new file mode 100644
index 0000000000..196ac7a9d5
--- /dev/null
+++ b/main/abuild/abuild.pre-install
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+if ! getent group abuild >/dev/null then
+ addgroup -S abuild
+fi
+exit 0