Enhance debian installer
This commit is contained in:
parent
35ae0c8f71
commit
fe5b35374a
@ -79,6 +79,8 @@ case "$1" in
|
|||||||
|
|
||||||
. /usr/share/wwwconfig-common/${dbtype}-dropuser.sh
|
. /usr/share/wwwconfig-common/${dbtype}-dropuser.sh
|
||||||
. /usr/share/wwwconfig-common/${dbtype}-dropdb.sh
|
. /usr/share/wwwconfig-common/${dbtype}-dropdb.sh
|
||||||
|
else
|
||||||
|
echo "postrm Delete of dolibarr database not wanted"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Remove include files
|
# Remove include files
|
||||||
@ -91,7 +93,7 @@ case "$1" in
|
|||||||
if [ -s $conffile ] ;
|
if [ -s $conffile ] ;
|
||||||
then
|
then
|
||||||
# We disable set -e to avoid premature end of script if error
|
# We disable set -e to avoid premature end of script if error
|
||||||
echo postrm remove include to /etc/dolibarr/apache.conf
|
echo postrm remove dolibarr include from /etc/dolibarr/apache.conf
|
||||||
set +e
|
set +e
|
||||||
. /usr/share/wwwconfig-common/apache-uninclude.sh
|
. /usr/share/wwwconfig-common/apache-uninclude.sh
|
||||||
set -e
|
set -e
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user