diff options
Diffstat (limited to 'development/gambas3/gambas3.SlackBuild')
-rw-r--r-- | development/gambas3/gambas3.SlackBuild | 11 |
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 |