summaryrefslogtreecommitdiffstats
path: root/installer/opengnsys_uninstall.sh
diff options
context:
space:
mode:
authorramon <ramongomez@us.es>2010-11-08 12:46:21 +0000
committerramon <ramongomez@us.es>2010-11-08 12:46:21 +0000
commit72134d53a6198409c9548f7e0d4d8c52f59c9290 (patch)
tree936b87316b819646dc90dac442987e5ba737f47b /installer/opengnsys_uninstall.sh
parent9f5f004f2e8f6f2e9686afc18ba82d6fa43b00f2 (diff)
Corrección erratas en instalador y desinstalador.
Adaptación de actualizador a los últimos cambios. git-svn-id: https://opengnsys.es/svn/trunk@1332 a21b9725-9963-47de-94b9-378ad31fedc9
Diffstat (limited to 'installer/opengnsys_uninstall.sh')
-rw-r--r--installer/opengnsys_uninstall.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/installer/opengnsys_uninstall.sh b/installer/opengnsys_uninstall.sh
index a057bc0b..9fbfbcbb 100644
--- a/installer/opengnsys_uninstall.sh
+++ b/installer/opengnsys_uninstall.sh
@@ -25,7 +25,8 @@ fi
if test $DROP; then
mysql -u root -p"$MYSQLROOT" <<<"DROP DATABASE ogBDAdmin;" 2>/dev/null
mysql -u root -p"$MYSQLROOT" <<<"DROP DATABASE ogAdmBD;" 2>/dev/null
- mysql -u root -p"$MYSQLROOT" <<<"DROP USER usuog;" 2>/dev/null
+ mysql -u root -p"$MYSQLROOT" <<<"DROP USER 'usuog';" 2>/dev/null
+ mysql -u root -p"$MYSQLROOT" <<<"DROP USER 'usuog'@'localhost';" 2>/dev/null
fi
# Eliminar ficheros.
echo "Deleting OpenGnSys files."