tabs fix, upgrade_dist module doc, server to test change

This commit is contained in:
levasseur
2021-07-05 16:24:58 +02:00
parent 401f11b6b7
commit 09c94af407
4 changed files with 29 additions and 20 deletions

2
.gitignore vendored
View File

@@ -1,2 +1,2 @@
log log
.README.md.kate-swp

View File

@@ -1,2 +1,4 @@
This is ubuntu deployment scripts for LEGOS git repository This is ubuntu deployment scripts for LEGOS git repository
created on 2021-05-31-11:31:04 created on 2021-05-31-11:31:04
Check README.md for details.

View File

@@ -1,6 +1,13 @@
# Distribution upgrade module, should be ran prior any other module # ------------------------------------------------------------------------------
# Distribution upgrade module, should be ran prior any other module (also
# configure APT)
# ------------------------------------------------------------------------------
# Variable:
# * PROXYAPT: Proxy to use with APT (eg. APT Cacher)
# * PROXYAPTPORT: Working port for APT proxy
# ------------------------------------------------------------------------------
export VER_upgrade_dist="0.0.5" export VER_upgrade_dist="0.0.6"
upgrade_dist() upgrade_dist()
{ {
@@ -32,7 +39,7 @@ upgrade_dist()
precheck_upgrade_dist() precheck_upgrade_dist()
{ {
prnt I "Vérification du réseau..." prnt I "Vérification du réseau..."
wget -q --tries=10 --timeout=20 --spider http://google.com wget -q --tries=10 --timeout=20 --spider http://www.cnrs.fr
if [[ ! $? -eq 0 ]]; then if [[ ! $? -eq 0 ]]; then
prnt E "Réseau non fonctionnel ! Abandon." prnt E "Réseau non fonctionnel ! Abandon."
die 5 die 5