summaryrefslogtreecommitdiffstats
path: root/installer/opengnsys_uninstall.sh
diff options
context:
space:
mode:
authorramon <ramongomez@us.es>2011-09-29 11:14:49 +0000
committerramon <ramongomez@us.es>2011-09-29 11:14:49 +0000
commit3ce53a7f30d9797d870e0e7c203f0e6e232e0039 (patch)
treee3072967ab6b235bdb842143e52425abfd423096 /installer/opengnsys_uninstall.sh
parentea8051aff51e0299bbba1628a01a9daae6b48045 (diff)
Versión 1.0.2: preparar módulo HTTPS para el servidor Apache (modifica #443)
git-svn-id: https://opengnsys.es/svn/branches/version1.0@2328 a21b9725-9963-47de-94b9-378ad31fedc9
Diffstat (limited to 'installer/opengnsys_uninstall.sh')
-rwxr-xr-xinstaller/opengnsys_uninstall.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/installer/opengnsys_uninstall.sh b/installer/opengnsys_uninstall.sh
index 0ee3b947..0331c339 100755
--- a/installer/opengnsys_uninstall.sh
+++ b/installer/opengnsys_uninstall.sh
@@ -37,6 +37,10 @@ if test $DROP; then
mysql -u root -p"$MYSQLROOT" <<<"DROP USER '$DBUSER';" 2>/dev/null
mysql -u root -p"$MYSQLROOT" <<<"DROP USER '$DBUSER'@'localhost';" 2>/dev/null
fi
+# Quitar configuración específica de Apache.
+a2dismod opengnsys
+rm -f /etc/apache2/{sites-available,sites-enabled}/opengnsys*
+/etc/init.d/apache2 reload
# Eliminar ficheros.
echo "Deleting OpenGnSys files."
for dir in $OPENGNSYS/*; do