Fix: Error management in debian package
This commit is contained in:
parent
91f930e134
commit
93ca7dde30
@ -19,7 +19,7 @@ set -e
|
||||
db_version 2.0
|
||||
|
||||
|
||||
echo Run the config script
|
||||
echo Run the dolibarr config script
|
||||
|
||||
# Rotate old configuration
|
||||
if [ "$1" = "reconfigure" ] ; then
|
||||
|
||||
@ -21,7 +21,7 @@ set -e
|
||||
db_version 2.0
|
||||
|
||||
|
||||
echo Run the postinst script
|
||||
echo Run the dolibarr postinst script
|
||||
|
||||
case "$1" in
|
||||
configure)
|
||||
|
||||
@ -21,7 +21,7 @@ set -e
|
||||
|
||||
db_version 2.0
|
||||
|
||||
echo Run the postrm script
|
||||
echo Run the dolibarr postrm script
|
||||
|
||||
#echo "postrm db_get dolibarr/webserver"
|
||||
# We disable set -e to avoid premature end of script if error
|
||||
|
||||
Loading…
Reference in New Issue
Block a user