mirror of
https://github.com/deajan/obackup.git
synced 2024-11-14 19:53:42 +01:00
Added upgrade finished message
This commit is contained in:
parent
bfb3e7c906
commit
5ab76ce5c9
@ -7,7 +7,7 @@ CONTACT="http://www.netpower.fr/obacup - ozy@netpower.fr"
|
|||||||
OLD_PROGRAM_VERSION="v1.x"
|
OLD_PROGRAM_VERSION="v1.x"
|
||||||
NEW_PROGRAM_VERSION="v2.1x"
|
NEW_PROGRAM_VERSION="v2.1x"
|
||||||
CONFIG_FILE_REVISION=2.1
|
CONFIG_FILE_REVISION=2.1
|
||||||
PROGRAM_BUILD=2019072301
|
PROGRAM_BUILD=2019102101
|
||||||
|
|
||||||
if ! type "$BASH" > /dev/null; then
|
if ! type "$BASH" > /dev/null; then
|
||||||
echo "Please run this script only with bash shell. Tested on bash >= 3.2"
|
echo "Please run this script only with bash shell. Tested on bash >= 3.2"
|
||||||
@ -391,6 +391,7 @@ if [ "$1" != "" ] && [ -f "$1" ] && [ -w "$1" ]; then
|
|||||||
AddMissingConfigOptions "$CONF_FILE"
|
AddMissingConfigOptions "$CONF_FILE"
|
||||||
UpdateConfigHeader "$CONF_FILE"
|
UpdateConfigHeader "$CONF_FILE"
|
||||||
rm -f "$CONF_FILE.tmp"
|
rm -f "$CONF_FILE.tmp"
|
||||||
|
echo "Configuration file upgrade finished"
|
||||||
else
|
else
|
||||||
Usage
|
Usage
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user