Fixed installation scripts

Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
This commit is contained in:
Dimitris Zlatanidis 2022-12-06 17:17:36 +02:00
parent 72add81518
commit a8bb0557ad
2 changed files with 2 additions and 4 deletions

View file

@ -24,8 +24,7 @@
__version() { __version() {
# Grab version from __metadata_.py file # Grab version from __metadata_.py file
cat slpkg/views/version.py | grep "version_info: tuple = (" \ cat setup.cfg | grep "version =" | tr -d [[:space:]] | cut -c9-13 | tr , .
| tr -d [[:space:]] | cut -c21-25 | tr , .
} }
PRGNAM=slpkg PRGNAM=slpkg

View file

@ -24,8 +24,7 @@
__version() { __version() {
# Grab version from __metadata_.py file # Grab version from __metadata_.py file
cat ../slpkg/views/version.py | grep "version_info: tuple = (" \ cat ../setup.cfg | grep "version =" | tr -d [[:space:]] | cut -c9-13 | tr , .
| tr -d [[:space:]] | cut -c21-25 | tr , .
} }
cd $(dirname $0) ; CWD=$(pwd) cd $(dirname $0) ; CWD=$(pwd)