diff options
author | dsomero <xgizzmo@slackbuilds.org> | 2013-11-22 02:34:22 -0500 |
---|---|---|
committer | dsomero <xgizzmo@slackbuilds.org> | 2013-11-22 02:34:22 -0500 |
commit | 687c78d5604ce299d5164ffd69de88f2dd10fefc (patch) | |
tree | 2c3b4dd9491198917e0178dd5a0cf0fa3e6715c8 /network/mailman | |
parent | 610e8461bb9b201adbd4bd9257a9bf48be71f62b (diff) |
various: Fix SlackBuild formatting and comment nit picks.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'network/mailman')
-rw-r--r-- | network/mailman/mailman.SlackBuild | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/network/mailman/mailman.SlackBuild b/network/mailman/mailman.SlackBuild index 51a7243c14ea0..812739160a8f7 100644 --- a/network/mailman/mailman.SlackBuild +++ b/network/mailman/mailman.SlackBuild @@ -19,12 +19,10 @@ CGI_GID=${CGI_GID:-apache} MAILMAN_UID=${MAILMAN_UID:-204} MAILMAN_GID=${MAILMAN_GID:-204} -# Automatically determine the architecture we're building on: if [ -z "$ARCH" ]; then case "$( uname -m )" in i?86) ARCH=i486 ;; arm*) ARCH=arm ;; - # Unless $ARCH is already set, use uname -m for all other archs: *) ARCH=$( uname -m ) ;; esac fi @@ -57,7 +55,7 @@ else fi # By default mailman will be installed to /opt, but -# the lists archives and databases directory can be +# the lists archives and databases directory can be # changed to /var/mailman: PREFIX=/opt/mailman VAR_PREFIX=${VAR_PREFIX:-/opt/mailman/var/mailman} @@ -68,7 +66,7 @@ mkdir -p $PKG install -d $PKG/$PREFIX -g mailman -o root -m 2775 install -d $PKG/$VAR_PREFIX -g mailman -o root -m 2775 -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT |