update pass version to install script

This commit is contained in:
Dimitris Zlatanidis 2015-02-18 22:36:08 +02:00
parent 356ac18ff2
commit 9ca3af3f2c
2 changed files with 4 additions and 3 deletions

View file

@ -21,8 +21,8 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=slpkg
VERSION=${VERSION:-$(python -c "from slpkg.__metadata__ import MetaData; \
print MetaData.__version__")}
VERSION=${VERSION:-$(cat slpkg/__metadata__.py | grep "__version_info__ = (" \
| cut -c25-31 | tr -d [[:space:]] | tr , .)}
TAG=${TAG:-_dsw}
# Installation script.

View file

@ -23,7 +23,8 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=slpkg
VERSION=${VERSION:-2.2.3}
VERSION=${VERSION:-$(cat ../slpkg/__metadata__.py | grep "__version_info__ = (" \
| cut -c25-31 | tr -d [[:space:]] | tr , .)}
BUILD=${BUILD:-1}
TAG=${TAG:-_dsw}