Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
MariaDB and MySQL Packaging Team
mariadb-5.5
Commits
86a3e4b5
Commit
86a3e4b5
authored
Dec 27, 2014
by
Otto Kekäläinen
Browse files
Make the dowgrade debconf priority critical so that for sure users will see and read it
parent
9c069708
Changes
2
Hide whitespace changes
Inline
Side-by-side
debian/mariadb-server-5.5.postrm
View file @
86a3e4b5
...
@@ -52,9 +52,9 @@ if [ "$1" = "purge" -a ! \( -x /usr/sbin/mysqld -o -L /usr/sbin/mysqld \) ]; the
...
@@ -52,9 +52,9 @@ if [ "$1" = "purge" -a ! \( -x /usr/sbin/mysqld -o -L /usr/sbin/mysqld \) ]; the
rm
-f
/var/log/mysql.
{
log,err
}{
,.0,.[1234567].gz
}
rm
-f
/var/log/mysql.
{
log,err
}{
,.0,.[1234567].gz
}
rm
-rf
/var/log/mysql
rm
-rf
/var/log/mysql
db_input high m
aria
-server-5.5/postrm_remove_databases
||
true
db_input high m
ysql
-server-5.5/postrm_remove_databases
||
true
db_go
||
true
db_go
||
true
db_get m
aria
-server-5.5/postrm_remove_databases
||
true
db_get m
ysql
-server-5.5/postrm_remove_databases
||
true
if
[
"
$RET
"
=
"true"
]
;
then
if
[
"
$RET
"
=
"true"
]
;
then
# never remove the debian.cnf when the databases are still existing
# never remove the debian.cnf when the databases are still existing
# else we ran into big trouble on the next install!
# else we ran into big trouble on the next install!
...
...
debian/mariadb-server-5.5.preinst
View file @
86a3e4b5
...
@@ -81,7 +81,7 @@ for i in `ls $DATADIR/debian-*.flag 2>/dev/null`; do
...
@@ -81,7 +81,7 @@ for i in `ls $DATADIR/debian-*.flag 2>/dev/null`; do
done
done
if
[
"
$show_downgrade_warning
"
=
1
]
;
then
if
[
"
$show_downgrade_warning
"
=
1
]
;
then
db_fset mariadb-server-5.5/really_downgrade seen
false
||
true
db_fset mariadb-server-5.5/really_downgrade seen
false
||
true
db_input
medium
mariadb-server-5.5/really_downgrade
||
true
db_input
critical
mariadb-server-5.5/really_downgrade
||
true
db_go
db_go
db_get mariadb-server-5.5/really_downgrade
||
true
db_get mariadb-server-5.5/really_downgrade
||
true
if
[
"
$RET
"
=
"true"
]
;
then
if
[
"
$RET
"
=
"true"
]
;
then
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment