summaryrefslogtreecommitdiffstats
path: root/debian/mariadb-server.preinst
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-13 12:33:08 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-13 12:33:08 +0000
commit7e05033f3904808cdd611a9c81c9b0ba30e73acd (patch)
treed31799a885d962cc183a52288c2eae01c682a31c /debian/mariadb-server.preinst
parentMerging upstream version 1:10.11.7. (diff)
downloadmariadb-7e05033f3904808cdd611a9c81c9b0ba30e73acd.tar.xz
mariadb-7e05033f3904808cdd611a9c81c9b0ba30e73acd.zip
Adding debian version 1:10.11.7-1.debian/1%10.11.7-1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/mariadb-server.preinst')
-rw-r--r--debian/mariadb-server.preinst4
1 files changed, 2 insertions, 2 deletions
diff --git a/debian/mariadb-server.preinst b/debian/mariadb-server.preinst
index 69af22f9..392fa4fb 100644
--- a/debian/mariadb-server.preinst
+++ b/debian/mariadb-server.preinst
@@ -148,7 +148,7 @@ if [ -z "$found_version" ] &&
[ -z "$(find $mysql_datadir/debian-*.flag 2> /dev/null)" ] &&
[ -f "$mysql_datadir/undo_001" ]
then
- echo "$mysql_datadir: no server version flag found, assuming MySQL 8.0 data encountered"
+ echo "$mysql_datadir: no server version flag found, assuming MySQL 8.0 data encountered" 1>&2
downgrade_detected=true
found_version="previous" # Just use dummy name as we don't know real version
fi
@@ -159,7 +159,7 @@ if [ -n "$downgrade_detected" ]
then
db_input critical "mariadb-server/old_data_directory_saved" || true
db_go
- echo "The file $mysql_datadir/debian-$found_version.flag indicates a" 1>&2
+ echo "The contents of $mysql_datadir/ indicates a" 1>&2
echo "version that cannot automatically be upgraded. Therefore the" 1>&2
echo "previous data directory will be renamed to $mysql_datadir-$found_version and" 1>&2
echo "a new data directory will be initialized at $mysql_datadir." 1>&2