diff options
-rwxr-xr-x | installer/opengnsys_installer.sh | 7 | ||||
-rwxr-xr-x | installer/opengnsys_update.sh | 17 |
2 files changed, 24 insertions, 0 deletions
diff --git a/installer/opengnsys_installer.sh b/installer/opengnsys_installer.sh index 09a1ee5d..cab94c9e 100755 --- a/installer/opengnsys_installer.sh +++ b/installer/opengnsys_installer.sh @@ -1657,6 +1657,13 @@ if cat $INSTALL_TARGET/doc/VERSION.* &>/dev/null; then exit 2 fi +echoAndLog "The OpenGnsys version 1.2.0 installation was tested with full functionality on Ubuntu 18.04 with PHP 7.2." +echo -n "Do you want to continue? [y/N]: " +read -r GO_ON +if [ "${GO_ON^^}" != "Y" ]; then + echoAndLog "We left the installation." && exit +fi + echoAndLog "OpenGnsys installation begins at $(date)" # Introducir datos de configuraciĆ³n y establecer variables globales. userData diff --git a/installer/opengnsys_update.sh b/installer/opengnsys_update.sh index 66419ab6..4b244b28 100755 --- a/installer/opengnsys_update.sh +++ b/installer/opengnsys_update.sh @@ -55,6 +55,23 @@ fi source $INSTALL_TARGET/lib/ogfunctions.sh || exit 1 +echo -n "Current version: " +if [ -r $INSTALL_TARGET/doc/VERSION.json ]; then + jq -j '"OpenGnsys", .version, " ", .release' $INSTALL_TARGET/doc/VERSION.json +else + cat $INSTALL_TARGET/doc/VERSION.txt +fi + +echo -e "\nThe OpenGnsys version 1.2.0 was tested with full functionality on Ubuntu 18.04 with PHP 7.2." +echo " * If the update is made from a version prior to 1.1.1c, you must disable strict mode in mysql by adding in the configuration file: sql_mode = NO_ENGINE_SUBSTITUTION" +echo " * If you are going to perform an update from version 1.1.0, it is necessary to start with the operating system, moving it from Ubuntu 16.04 to Ubuntu 18.04, and then perform the OpenGnsys update." + +echo -e -n "\nDo you want to continue? [y/N]: " +read -r GO_ON +if [ "${GO_ON^^}" != "Y" ]; then + echo "We left the installation." && exit +fi + # Cargar configuraciĆ³n de acceso a la base de datos. if [ -r $INSTALL_TARGET/etc/ogserver.json ]; then source_json_config $INSTALL_TARGET/etc/ogserver.json |