From b6554e11977198119cada589378108717e81c1e2 Mon Sep 17 00:00:00 2001 From: Dimitris Zlatanidis Date: Wed, 18 Feb 2015 22:44:27 +0200 Subject: [PATCH] update pass version to install script --- install.sh | 2 +- slackbuild/slpkg.SlackBuild | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/install.sh b/install.sh index bee60ef7..0276778c 100755 --- a/install.sh +++ b/install.sh @@ -22,7 +22,7 @@ PRGNAM=slpkg VERSION=${VERSION:-$(cat slpkg/__metadata__.py | grep "__version_info__ = (" \ - | cut -c25-31 | tr -d [[:space:]] | tr , .)} + | tr -d [[:space:]] | cut -c19-23 | tr , .)} TAG=${TAG:-_dsw} # Installation script. diff --git a/slackbuild/slpkg.SlackBuild b/slackbuild/slpkg.SlackBuild index 8ac315e7..ef91ed5d 100755 --- a/slackbuild/slpkg.SlackBuild +++ b/slackbuild/slpkg.SlackBuild @@ -24,7 +24,7 @@ PRGNAM=slpkg VERSION=${VERSION:-$(cat ../slpkg/__metadata__.py | grep "__version_info__ = (" \ - | cut -c25-31 | tr -d [[:space:]] | tr , .)} + | tr -d [[:space:]] | cut -c19-23 | tr , .)} BUILD=${BUILD:-1} TAG=${TAG:-_dsw}