From e3ece7f12affddcdb55e94ba6b6c2580d9fae165 Mon Sep 17 00:00:00 2001 From: David Spencer Date: Wed, 20 Jan 2016 01:18:17 +0000 Subject: network/elemental-ircd: Support alt tarball name, fix doinst.sh. Signed-off-by: David Spencer --- network/elemental-ircd/doinst.sh | 10 +++++----- network/elemental-ircd/elemental-ircd.SlackBuild | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'network/elemental-ircd') 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 diff --git a/network/elemental-ircd/elemental-ircd.SlackBuild b/network/elemental-ircd/elemental-ircd.SlackBuild index 0b8876132d..1207cd9637 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 . \ -- cgit v1.2.3