summaryrefslogtreecommitdiff
path: root/development/gambas3/gambas3.SlackBuild
diff options
context:
space:
mode:
authorTim Dickson <dickson.tim@googlemail.com>2019-01-10 05:07:18 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2019-01-10 05:07:18 +0700
commitfa4bf452d01dbd0ba6992f56ac5c4dc99b7f5078 (patch)
tree25c29ddde651bfd15f3e6f166dc7d2e712c6d693 /development/gambas3/gambas3.SlackBuild
parent936682bd4c0630654b1cb5c929eeee5c2d4a3efa (diff)
downloadslackbuilds-fa4bf452d01dbd0ba6992f56ac5c4dc99b7f5078.tar.gz
development/gambas3: Updated for version 3.12.1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development/gambas3/gambas3.SlackBuild')
-rw-r--r--development/gambas3/gambas3.SlackBuild11
1 files changed, 8 insertions, 3 deletions
diff --git a/development/gambas3/gambas3.SlackBuild b/development/gambas3/gambas3.SlackBuild
index 7c09b315e7..325bf9a964 100644
--- a/development/gambas3/gambas3.SlackBuild
+++ b/development/gambas3/gambas3.SlackBuild
@@ -22,11 +22,11 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-# updates since version 3.11.2 Copyright 2018 Tim Dickson dickson.tim@googlemail.com
+# updates since version 3.11.2 Copyright 2018/9 Tim Dickson dickson.tim@googlemail.com
PRGNAM=gambas3
SRCNAM=gambas
-VERSION=${VERSION:-3.11.4}
+VERSION=${VERSION:-3.12.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -58,7 +58,12 @@ else
fi
set -e
-
+if [ "x`ls /var/log/packages|grep ^$PRGNAM|wc -l`" = "x1" ]; then
+ #and current installs of gambas should be uninstalled before
+ #attempting to create this gambas3 package
+ echo "you must uninstall $PRGNAM before creating package $PRGNAM ver $VERSION"
+ exit 2
+fi
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP