aboutsummaryrefslogtreecommitdiff
path: root/system/icingaweb2/icingaweb2.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/icingaweb2/icingaweb2.SlackBuild')
-rw-r--r--system/icingaweb2/icingaweb2.SlackBuild9
1 files changed, 4 insertions, 5 deletions
diff --git a/system/icingaweb2/icingaweb2.SlackBuild b/system/icingaweb2/icingaweb2.SlackBuild
index 5e44f76d7c3e..e441315bbabd 100644
--- a/system/icingaweb2/icingaweb2.SlackBuild
+++ b/system/icingaweb2/icingaweb2.SlackBuild
@@ -23,11 +23,10 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=icingaweb2
-VERSION=${VERSION:-2.0.0_rc1}
+VERSION=${VERSION:-2.0.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-SRCVER=${SRCVER:-2.0.0-rc1}
ARCH=noarch
CWD=$(pwd)
@@ -45,9 +44,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$SRCVER
-tar xvf $CWD/v$SRCVER.tar.gz
-cd $PRGNAM-$SRCVER
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/v$VERSION.tar.gz || tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \