summaryrefslogtreecommitdiff
path: root/system/icingaweb2/icingaweb2.SlackBuild
diff options
context:
space:
mode:
authorMario Preksavec <mario@slackware.hr>2015-11-09 14:53:57 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-11-14 07:08:01 +0700
commitb4c7fe3f172e9f4948d892c98a7316485bc0451f (patch)
tree93512c979d3a3788d74508b58f88e4b91c6342f3 /system/icingaweb2/icingaweb2.SlackBuild
parentf64380a4813f6a3ce57aad996d2130fa267e6e84 (diff)
downloadslackbuilds-b4c7fe3f172e9f4948d892c98a7316485bc0451f.tar.gz
system/icingaweb2: Updated for version 2.0.0.
Signed-off-by: Mario Preksavec <mario@slackware.hr>
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 5e44f76d7c..e441315bba 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 \