mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2024-12-26 09:58:31 +01:00
Fixed installation scripts
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
This commit is contained in:
parent
72add81518
commit
a8bb0557ad
2 changed files with 2 additions and 4 deletions
|
@ -24,8 +24,7 @@
|
|||
|
||||
__version() {
|
||||
# Grab version from __metadata_.py file
|
||||
cat slpkg/views/version.py | grep "version_info: tuple = (" \
|
||||
| tr -d [[:space:]] | cut -c21-25 | tr , .
|
||||
cat setup.cfg | grep "version =" | tr -d [[:space:]] | cut -c9-13 | tr , .
|
||||
}
|
||||
|
||||
PRGNAM=slpkg
|
||||
|
|
|
@ -24,8 +24,7 @@
|
|||
|
||||
__version() {
|
||||
# Grab version from __metadata_.py file
|
||||
cat ../slpkg/views/version.py | grep "version_info: tuple = (" \
|
||||
| tr -d [[:space:]] | cut -c21-25 | tr , .
|
||||
cat ../setup.cfg | grep "version =" | tr -d [[:space:]] | cut -c9-13 | tr , .
|
||||
}
|
||||
|
||||
cd $(dirname $0) ; CWD=$(pwd)
|
||||
|
|
Loading…
Reference in a new issue