aboutsummaryrefslogtreecommitdiffstats
path: root/testing/sword/sword.pre-install
diff options
context:
space:
mode:
authorIsaac Dunham <ibid.ag@gmail.com>2014-07-23 06:05:54 -0700
committerNatanael Copa <ncopa@alpinelinux.org>2014-07-24 14:06:12 +0000
commit901c2c595c140eeaceea798d2d76f7ea4cb90f04 (patch)
tree51df71d97082f16b2e0b91e7f7eabdc4f206f15c /testing/sword/sword.pre-install
parentd8082a70288f6eab5b538c2101be702a34d44158 (diff)
downloadaports-901c2c595c140eeaceea798d2d76f7ea4cb90f04.tar.bz2
aports-901c2c595c140eeaceea798d2d76f7ea4cb90f04.tar.xz
testing/sword: add sword group for installing modules systemwide.
installmgr was trying to install into /usr/share/sword without permissions, resulting in great confusion. This change lets all members of the 'sword' group install modules systemwide.
Diffstat (limited to 'testing/sword/sword.pre-install')
-rwxr-xr-xtesting/sword/sword.pre-install3
1 files changed, 3 insertions, 0 deletions
diff --git a/testing/sword/sword.pre-install b/testing/sword/sword.pre-install
new file mode 100755
index 0000000000..0ab0d715bf
--- /dev/null
+++ b/testing/sword/sword.pre-install
@@ -0,0 +1,3 @@
+#!/bin/sh
+echo "Adding 'sword' group for installing SWORD modules systemwide"
+addgroup sword 2>/dev/null >&2 || true