forked from ScoDoc/ScoDoc
fix install script
This commit is contained in:
parent
9d5c0d96bd
commit
2a38de8e89
@ -77,7 +77,7 @@ su -c "(cd $SCODOC_DIR && source venv/bin/activate && pip install wheel && pip i
|
|||||||
# pip install --upgrade pip => bug [Errno 39] Directory not empty: '_internal'
|
# pip install --upgrade pip => bug [Errno 39] Directory not empty: '_internal'
|
||||||
|
|
||||||
# ------------
|
# ------------
|
||||||
SCODOC_RELEASE=$(cat VERSION)
|
SCODOC_RELEASE=$(grep SCOVERSION sco_version.py | awk '{ print substr($3, 2, length($3)-2) }')
|
||||||
SVERSION=$(curl --silent http://scodoc.iutv.univ-paris13.fr/scodoc-installmgr/version?mode=install\&release="$SCODOC_RELEASE")
|
SVERSION=$(curl --silent http://scodoc.iutv.univ-paris13.fr/scodoc-installmgr/version?mode=install\&release="$SCODOC_RELEASE")
|
||||||
echo "$SVERSION" > "${SCODOC_VERSION_DIR}/scodoc.sn"
|
echo "$SVERSION" > "${SCODOC_VERSION_DIR}/scodoc.sn"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user