summaryrefslogtreecommitdiff
path: root/network/elemental-ircd/doinst.sh
diff options
context:
space:
mode:
authorDavid Spencer <idlemoor@slackbuilds.org>2016-01-20 01:18:17 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-01-20 23:59:30 +0700
commite3ece7f12affddcdb55e94ba6b6c2580d9fae165 (patch)
treefd964d94fca0c68fc56093b3e4bec8f1117097e5 /network/elemental-ircd/doinst.sh
parent7262bffedbe337816f26e3000721d9a4a3bfc818 (diff)
downloadslackbuilds-e3ece7f12affddcdb55e94ba6b6c2580d9fae165.tar.gz
network/elemental-ircd: Support alt tarball name, fix doinst.sh.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'network/elemental-ircd/doinst.sh')
-rw-r--r--network/elemental-ircd/doinst.sh10
1 files changed, 5 insertions, 5 deletions
diff --git a/network/elemental-ircd/doinst.sh b/network/elemental-ircd/doinst.sh
index e8bbf30335..e99e1995fe 100644
--- a/network/elemental-ircd/doinst.sh
+++ b/network/elemental-ircd/doinst.sh
@@ -32,8 +32,8 @@ config etc/elemental-ircd/ircd.motd.new
# Set up user/group permissions
groupadd -g $IRCD_GID $IRCD_UNAME 2>/dev/null
-useradd -u $IRCD_UID -g $IRCD_GID -d /var/lib/elemental-ircd $IRCD_UNAME 2>/dev/null
-chown $IRCD_UID:$IRCD_GID /var/run/elemental-ircd
-chown $IRCD_UID:$IRCD_GID /var/log/elemental-ircd
-chown $IRCD_UID:$IRCD_GID /var/lib/elemental-ircd
-chown $IRCD_UID:$IRCD_GID /var/state/elemental-ircd
+useradd -u $IRCD_UID -g $IRCD_GID -d var/lib/elemental-ircd $IRCD_UNAME 2>/dev/null
+chown $IRCD_UID:$IRCD_GID var/run/elemental-ircd
+chown $IRCD_UID:$IRCD_GID var/log/elemental-ircd
+chown $IRCD_UID:$IRCD_GID var/lib/elemental-ircd
+chown $IRCD_UID:$IRCD_GID var/state/elemental-ircd