From 6b13ea855fe8d46f8018cdd1c7173b057bfaef15 Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Wed, 3 Jan 2007 13:57:09 +0000 Subject: [PATCH] =?utf8?q?Die=20RegExp=20f=C3=BCr=20die=20Namen=20der=20Up?= =?utf8?q?gradescripte=20sollte=20am=20Stringende=20verankert=20sein,=20um?= =?utf8?q?=20z.B.=20Backupdateien=20mit=20~=20am=20Ende=20nicht=20zu=20erf?= =?utf8?q?assen.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- SL/User.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SL/User.pm b/SL/User.pm index 0b42a35a9..9697dffb6 100644 --- a/SL/User.pm +++ b/SL/User.pm @@ -732,7 +732,7 @@ sub update_available { opendir SQLDIR, "sql/${dbdriver}-upgrade" or &error("", "sql/${dbdriver}-upgrade: $!"); my @upgradescripts = - grep(/$form->{dbdriver}-upgrade-\Q$cur_version\E.*\.(sql|pl)/, readdir(SQLDIR)); + grep(/$form->{dbdriver}-upgrade-\Q$cur_version\E.*\.(sql|pl)$/, readdir(SQLDIR)); closedir SQLDIR; return ($#upgradescripts > -1); -- 2.20.1