summaryrefslogtreecommitdiffstats
path: root/installer
diff options
context:
space:
mode:
authorFredy <aluque@soleta.eu>2018-06-14 14:02:23 +0200
committerFredy <aluque@soleta.eu>2018-06-14 14:02:23 +0200
commit4f6858748115df064e5557ad89e2868565e9d89d (patch)
tree72ad02820c1fddcbf51094cf401c3f230ec111ea /installer
parentd3a6373d608266277be0e29eedfde03bfab257a6 (diff)
#837 devel update scriptdebian-pkg
Diffstat (limited to 'installer')
-rwxr-xr-xinstaller/pkg-generator/DEBIAN/postinst2
-rwxr-xr-xinstaller/pkg-generator/tmp/opengnsys_installer/opengnsys_git_update.sh6
2 files changed, 7 insertions, 1 deletions
diff --git a/installer/pkg-generator/DEBIAN/postinst b/installer/pkg-generator/DEBIAN/postinst
index 68182658..82c150e3 100755
--- a/installer/pkg-generator/DEBIAN/postinst
+++ b/installer/pkg-generator/DEBIAN/postinst
@@ -1344,6 +1344,8 @@ INSTVERSION=$(awk '{print $2}' $INSTALL_TARGET/doc/VERSION.txt)
$STARTSERVICE
+mysqlSetRootPassword "${MYSQL_ROOT_PASSWORD}"
+
mysqlTestConnection "${MYSQL_ROOT_PASSWORD}"
if [ $? -ne 0 ]; then
errorAndLog "Error while connection to mysql"
diff --git a/installer/pkg-generator/tmp/opengnsys_installer/opengnsys_git_update.sh b/installer/pkg-generator/tmp/opengnsys_installer/opengnsys_git_update.sh
index 53080333..277dcf7c 100755
--- a/installer/pkg-generator/tmp/opengnsys_installer/opengnsys_git_update.sh
+++ b/installer/pkg-generator/tmp/opengnsys_installer/opengnsys_git_update.sh
@@ -928,7 +928,11 @@ autoConfigure
checkMysqlConfig $OPENGNSYS_DBUSER $OPENGNSYS_DBPASSWORD
# Actualizar la BD.
+
+echo "DEBUG: UpdateDatabase"
updateDatabase
+echo "DEBUG: end UpdateDatabase"
+
# Actualizar ficheros complementarios del servidor
updateServerFiles
@@ -976,4 +980,4 @@ updateSummary
echoAndLog "OpenGnsys update finished at $(date)"
popd
-return 0
+