From c2000c82f3638128996f3a779b7e453cedd2aaad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Antoine=20Beaupr=C3=A9?= Date: Mon, 20 Oct 2008 20:13:21 +0000 Subject: [PATCH] fix sqlbackup call sequence by retaining backwards compatibilty with previous script Closes: #1163 --- debian/changelog | 11 ++++++++--- src/sqlbackup.sh | 1 + 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/debian/changelog b/debian/changelog index edee4358..b9310bc9 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +alternc (0.9.10) unstable; urgency=low + + * bugfixes: + * #1163: fix sqlbackup script call routine to retain backwards compatibility + + -- Antoine Beaupré 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 Tue, 27 Aug 2002 19:31:26 +0200 -Local variables: -mode: debian-changelog -End: + diff --git a/src/sqlbackup.sh b/src/sqlbackup.sh index fd23d514..000245ea 100755 --- a/src/sqlbackup.sh +++ b/src/sqlbackup.sh @@ -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."