fix sqlbackup call sequence by retaining backwards compatibilty with

previous script

Closes: #1163
This commit is contained in:
Antoine Beaupré 2008-10-20 20:13:21 +00:00
parent a52ed1e90e
commit c2000c82f3
2 changed files with 9 additions and 3 deletions

11
debian/changelog vendored
View File

@ -1,3 +1,10 @@
alternc (0.9.10) unstable; urgency=low
* bugfixes:
* #1163: fix sqlbackup script call routine to retain backwards compatibility
-- Antoine Beaupré <anarcat@koumbit.org> Mon, 20 Oct 2008 16:12:28 -0400
alternc (0.9.9) stable; urgency=low
* bugfixes:
@ -317,8 +324,6 @@ alternc (0.9-1) testing; urgency=low
-- Benjamin Sonntag <benjamin@alternc.org> Tue, 27 Aug 2002 19:31:26 +0200
Local variables:
mode: debian-changelog
End:

View File

@ -270,6 +270,7 @@ read_parameters() {
-t|--type) shift; TYPE="$1";;
-n|--name-methode) shift; SQLBACKUP_TYPE="$1";;
-a|--allow-ovewrite) shift; SQLBACKUP_OVERWRITE="$1" ;;
daily|weekly); TYPE="$1";; # backwards compatibility
*)
error "invalid option -- $1"
error "Try \`sqlbackup.sh --help' for more information."