tabs fix, upgrade_dist module doc, server to test change
This commit is contained in:
2
.gitignore
vendored
2
.gitignore
vendored
@@ -1,2 +1,2 @@
|
||||
log
|
||||
|
||||
.README.md.kate-swp
|
||||
|
||||
@@ -1,2 +1,4 @@
|
||||
This is ubuntu deployment scripts for LEGOS git repository
|
||||
created on 2021-05-31-11:31:04
|
||||
|
||||
Check README.md for details.
|
||||
|
||||
@@ -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()
|
||||
{
|
||||
@@ -32,7 +39,7 @@ upgrade_dist()
|
||||
precheck_upgrade_dist()
|
||||
{
|
||||
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
|
||||
prnt E "Réseau non fonctionnel ! Abandon."
|
||||
die 5
|
||||
|
||||
Reference in New Issue
Block a user