summaryrefslogtreecommitdiff
path: root/network/greenbone-security-assistant/greenbone-security-assistant.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'network/greenbone-security-assistant/greenbone-security-assistant.SlackBuild')
-rw-r--r--network/greenbone-security-assistant/greenbone-security-assistant.SlackBuild9
1 files changed, 4 insertions, 5 deletions
diff --git a/network/greenbone-security-assistant/greenbone-security-assistant.SlackBuild b/network/greenbone-security-assistant/greenbone-security-assistant.SlackBuild
index 95393b66b6..dac0cf901d 100644
--- a/network/greenbone-security-assistant/greenbone-security-assistant.SlackBuild
+++ b/network/greenbone-security-assistant/greenbone-security-assistant.SlackBuild
@@ -23,8 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=greenbone-security-assistant
-VERSION=${VERSION:-1.0.0_beta5}
-SRCVER=$(echo $VERSION | tr _ -)
+VERSION=${VERSION:-1.0.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -50,9 +49,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$SRCVER
-tar xvf $CWD/$PRGNAM-$SRCVER.tar.gz
-cd $PRGNAM-$SRCVER
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM-$VERSION
chown -R root:root .
find . \
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \