summarylogtreecommitdiffstats
path: root/sogo.install
diff options
context:
space:
mode:
authorDJ Lucas2015-07-17 20:21:54 -0500
committerDJ Lucas2015-07-17 20:21:54 -0500
commit1dc5e77943d858f2975f6c034c42734ed0d8b03c (patch)
tree8055f4e2871359bdb59564ccb15571ca19506c44 /sogo.install
downloadaur-1dc5e77943d858f2975f6c034c42734ed0d8b03c.tar.gz
Initial commit
Diffstat (limited to 'sogo.install')
-rw-r--r--sogo.install9
1 files changed, 9 insertions, 0 deletions
diff --git a/sogo.install b/sogo.install
new file mode 100644
index 000000000000..5b6935f25576
--- /dev/null
+++ b/sogo.install
@@ -0,0 +1,9 @@
+post_install() {
+ useradd -r -d /etc/sogo sogo &>/dev/null
+ chown -R sogo:sogo /etc/sogo
+}
+
+pre_remove() {
+ userdel sogo
+ groupdel sogo
+}