diff options
-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 . \ |