diff options
author | David Spencer <idlemoor@slackbuilds.org> | 2016-01-20 01:18:17 +0000 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2016-01-20 23:59:30 +0700 |
commit | e3ece7f12affddcdb55e94ba6b6c2580d9fae165 (patch) | |
tree | fd964d94fca0c68fc56093b3e4bec8f1117097e5 /network | |
parent | 7262bffedbe337816f26e3000721d9a4a3bfc818 (diff) |
network/elemental-ircd: Support alt tarball name, fix doinst.sh.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'network')
-rw-r--r-- | network/elemental-ircd/doinst.sh | 10 | ||||
-rw-r--r-- | network/elemental-ircd/elemental-ircd.SlackBuild | 2 |
2 files changed, 6 insertions, 6 deletions
diff --git a/network/elemental-ircd/doinst.sh b/network/elemental-ircd/doinst.sh index e8bbf30335a8..e99e1995fed9 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 diff --git a/network/elemental-ircd/elemental-ircd.SlackBuild b/network/elemental-ircd/elemental-ircd.SlackBuild index 0b8876132dab..1207cd9637dd 100644 --- a/network/elemental-ircd/elemental-ircd.SlackBuild +++ b/network/elemental-ircd/elemental-ircd.SlackBuild @@ -65,7 +65,7 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.gz +tar xvf $CWD/$PRGNAM-$VERSION.tar.gz || tar xvf $CWD/$PRGNAM-$PRGNAM-$VERSION.tar.gz cd $PRGNAM-$PRGNAM-$VERSION chown -R root:root . find -L . \ |