From e243fe6bb05148a3403bbc15b3f1da57c9639748 Mon Sep 17 00:00:00 2001 From: Emmanuel Viennet Date: Thu, 14 Oct 2021 11:01:29 +0200 Subject: [PATCH] installmgr url --- app/scodoc/sco_utils.py | 3 +-- tools/debian/postinst | 2 +- tools/install_debian11.sh | 2 +- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/app/scodoc/sco_utils.py b/app/scodoc/sco_utils.py index 70527702..e5dec56b 100644 --- a/app/scodoc/sco_utils.py +++ b/app/scodoc/sco_utils.py @@ -290,8 +290,7 @@ SCO_DEV_MAIL = "emmanuel.viennet@gmail.com" # SVP ne pas changer # Adresse pour l'envoi des dumps (pour assistance technnique): # ne pas changer (ou vous perdez le support) -SCO_DUMP_UP_URL = "https://scodoc.iutv.univ-paris13.fr/scodoc-installmgr/upload-dump" -# SCO_DUMP_UP_URL = "http://192.168.56.1:5000/upload_dump" +SCO_DUMP_UP_URL = "https://scodoc.org/scodoc-installmgr/upload-dump" CSV_FIELDSEP = ";" CSV_LINESEP = "\n" diff --git a/tools/debian/postinst b/tools/debian/postinst index 10c62758..41441c8c 100755 --- a/tools/debian/postinst +++ b/tools/debian/postinst @@ -52,7 +52,7 @@ else SN="" fi -CMD="curl --fail --connect-timeout 5 --silent https://scodoc.iutv.univ-paris13.fr/scodoc-installmgr/version?mode=$mode\&release=${SCODOC_RELEASE}\&sn=${SN}" +CMD="curl --fail --connect-timeout 5 --silent https://scodoc.org/scodoc-installmgr/version?mode=$mode\&release=${SCODOC_RELEASE}\&sn=${SN}" SVERSION="$(${CMD})" if [ "$?" == 0 ]; then diff --git a/tools/install_debian11.sh b/tools/install_debian11.sh index 8d94187a..e267cc38 100755 --- a/tools/install_debian11.sh +++ b/tools/install_debian11.sh @@ -83,7 +83,7 @@ su -c "(cd $SCODOC_DIR && source venv/bin/activate && pip install wheel && pip i # ------------ SCODOC_RELEASE=$(grep SCOVERSION sco_version.py | awk '{ print substr($3, 2, length($3)-2) }') -SVERSION=$(curl --silent https://scodoc.iutv.univ-paris13.fr/scodoc-installmgr/version?mode=install\&release="$SCODOC_RELEASE") +SVERSION=$(curl --silent https://scodoc.org/scodoc-installmgr/version?mode=install\&release="$SCODOC_RELEASE") echo "$SVERSION" > "${SCODOC_VERSION_DIR}/scodoc.sn"