summarylogtreecommitdiffstats
path: root/wwwoffle.install
diff options
context:
space:
mode:
authorfelics@felics-tablet2016-09-21 13:44:37 +0200
committerfelics@felics-tablet2016-09-21 13:44:37 +0200
commitce7309009c25f78d28d4f1f7190bf7b68496dda4 (patch)
treef22ce3865ad55b862ae6e507f065b62194a20e53 /wwwoffle.install
parentb61b8085f8f28bc23b58fec207e50f43d6c90e7d (diff)
downloadaur-ce7309009c25f78d28d4f1f7190bf7b68496dda4.tar.gz
Made install-script more informative, and cleaned it up.
Diffstat (limited to 'wwwoffle.install')
-rw-r--r--wwwoffle.install5
1 files changed, 1 insertions, 4 deletions
diff --git a/wwwoffle.install b/wwwoffle.install
index 731f05aa6993..01d4966b0222 100644
--- a/wwwoffle.install
+++ b/wwwoffle.install
@@ -44,10 +44,10 @@ post_upgrade() {
groupadd wwwoffle &> /dev/null
fi
if [ ! `grep -E '^wwwoffle\:' /etc/passwd` ]; then
- id wwwoffle &> /dev/null || \
echo ">>> Adding user wwwoffle."
useradd -g wwwoffle wwwoffle
fi
+ echo ">>> Changing ownership of /var/spool/wwwoffle to wwwoffle:wwwoffle (recursively)."
chown -R wwwoffle:wwwoffle /var/spool/wwwoffle
}
@@ -58,6 +58,3 @@ pre_remove() {
groupdel wwwoffle &> /dev/null
}
-op=$1
-shift
-$op $*