diff --git a/package_check.sh b/package_check.sh index bf5b674..fcb9e32 100755 --- a/package_check.sh +++ b/package_check.sh @@ -254,6 +254,13 @@ EOF # Give the execution right chmod +x "$script_dir/upgrade_script.sh" + # Temporary upgrade fix + # Check if lynx is already installed. + if [ ! -e "$(which lynx)" ] + then + sudo apt-get install -y lynx + fi + # Start the upgrade script by replacement of this process exec "$script_dir/upgrade_script.sh" fi diff --git a/sub_scripts/lxc_build.sh b/sub_scripts/lxc_build.sh index c41c08b..1cb09b7 100755 --- a/sub_scripts/lxc_build.sh +++ b/sub_scripts/lxc_build.sh @@ -71,8 +71,8 @@ echo -e "\e[1m> Update et install lxc lxctl\e[0m" | tee "$LOG_BUILD_LXC" sudo apt-get update >> "$LOG_BUILD_LXC" 2>&1 sudo apt-get install -y lxc lxctl >> "$LOG_BUILD_LXC" 2>&1 -echo -e "\e[1m> Install git curl\e[0m" | tee "$LOG_BUILD_LXC" -sudo apt-get install -y git curl >> "$LOG_BUILD_LXC" 2>&1 +echo -e "\e[1m> Install git, curl and lynx\e[0m" | tee "$LOG_BUILD_LXC" +sudo apt-get install -y git curl lynx >> "$LOG_BUILD_LXC" 2>&1 sudo mkdir -p /var/lib/lxcsnaps # Créer le dossier lxcsnaps, pour s'assurer que lxc utilisera ce dossier, même avec lxc 2. diff --git a/sub_scripts/testing_process.sh b/sub_scripts/testing_process.sh index 5654505..b2fd174 100644 --- a/sub_scripts/testing_process.sh +++ b/sub_scripts/testing_process.sh @@ -288,10 +288,10 @@ CHECK_URL () { ECHO_FORMAT "The connection attempt fall on nginx default page.\n" "white" "bold" clog fi - # Print the first 20 lines of the body - ECHO_FORMAT "Extract of the body:\n" "white" - echo -e "\e[37m" # Write in 'light grey' - grep "