Commit f923073f authored by unknown's avatar unknown

Add INFO_SRC and INFO_BIN to .deb packaging to fix a test failure in

file_contents.test. Also fix some old references to 5.3 in .deb packaging
found while debugging this.
parent 300ec4d2
...@@ -5,6 +5,6 @@ usr/bin ...@@ -5,6 +5,6 @@ usr/bin
usr/sbin usr/sbin
usr/share/man/man8 usr/share/man/man8
usr/share/mysql usr/share/mysql
usr/share/doc/mariadb-server-5.3 usr/share/doc/mariadb-server-5.5
var/run/mysqld var/run/mysqld
var/lib/mysql-upgrade var/lib/mysql-upgrade
...@@ -30,6 +30,8 @@ usr/bin/replace ...@@ -30,6 +30,8 @@ usr/bin/replace
usr/bin/resolve_stack_dump usr/bin/resolve_stack_dump
usr/bin/resolveip usr/bin/resolveip
usr/share/doc/mariadb-server-5.5/mysqld.sym.gz usr/share/doc/mariadb-server-5.5/mysqld.sym.gz
usr/share/doc/mariadb-server-5.5/INFO_SRC
usr/share/doc/mariadb-server-5.5/INFO_BIN
usr/share/lintian/overrides/mariadb-server-5.5 usr/share/lintian/overrides/mariadb-server-5.5
usr/share/man/man1/msql2mysql.1 usr/share/man/man1/msql2mysql.1
usr/share/man/man1/myisamchk.1 usr/share/man/man1/myisamchk.1
......
...@@ -191,7 +191,7 @@ install: build ...@@ -191,7 +191,7 @@ install: build
install -m 0755 $(BUILDDIR)/scripts/mysqld_safe $(TMP)/usr/bin/mysqld_safe install -m 0755 $(BUILDDIR)/scripts/mysqld_safe $(TMP)/usr/bin/mysqld_safe
mkdir -p $(TMP)/usr/share/doc/mariadb-server-5.5/examples mkdir -p $(TMP)/usr/share/doc/mariadb-server-5.5/examples
# We have a sane my.cnf, cruft not needed (remove my-*.cnf and config-*.cnf) # We have a sane my.cnf, cruft not needed (remove my-*.cnf and config-*.cnf)
# $(TMP)/usr/share/mysql/*cnf $(TMP)/usr/share/doc/mariadb-server-5.3/examples/ # $(TMP)/usr/share/mysql/*cnf $(TMP)/usr/share/doc/mariadb-server-5.5/examples/
rm -vf $(TMP)/usr/share/mysql/my-*.cnf \ rm -vf $(TMP)/usr/share/mysql/my-*.cnf \
$(TMP)/usr/share/mysql/config-*.cnf \ $(TMP)/usr/share/mysql/config-*.cnf \
$(TMP)/usr/share/mysql/mi_test_all* \ $(TMP)/usr/share/mysql/mi_test_all* \
...@@ -203,6 +203,9 @@ install: build ...@@ -203,6 +203,9 @@ install: build
install -m 0755 debian/additions/debian-start $(TMP)/etc/mysql/ install -m 0755 debian/additions/debian-start $(TMP)/etc/mysql/
install -m 0755 debian/additions/debian-start.inc.sh $(TMP)/usr/share/mysql/ install -m 0755 debian/additions/debian-start.inc.sh $(TMP)/usr/share/mysql/
install -m 0644 $(builddir)/Docs/INFO_SRC $(TMP)/usr/share/doc/mariadb-server-5.5/INFO_SRC
install -m 0644 $(builddir)/Docs/INFO_BIN $(TMP)/usr/share/doc/mariadb-server-5.5/INFO_BIN
# mariadb-test # mariadb-test
mv $(TMP)/usr/mysql-test $(TMP)/usr/share/mysql mv $(TMP)/usr/mysql-test $(TMP)/usr/share/mysql
......
...@@ -5,6 +5,6 @@ usr/bin ...@@ -5,6 +5,6 @@ usr/bin
usr/sbin usr/sbin
usr/share/man/man8 usr/share/man/man8
usr/share/mysql usr/share/mysql
usr/share/doc/mariadb-server-5.3 usr/share/doc/mariadb-server-5.5
var/run/mysqld var/run/mysqld
var/lib/mysql-upgrade var/lib/mysql-upgrade
...@@ -32,6 +32,8 @@ usr/bin/replace ...@@ -32,6 +32,8 @@ usr/bin/replace
usr/bin/resolve_stack_dump usr/bin/resolve_stack_dump
usr/bin/resolveip usr/bin/resolveip
usr/share/doc/mariadb-server-5.5/mysqld.sym.gz usr/share/doc/mariadb-server-5.5/mysqld.sym.gz
usr/share/doc/mariadb-server-5.5/INFO_SRC
usr/share/doc/mariadb-server-5.5/INFO_BIN
usr/share/lintian/overrides/mariadb-server-5.5 usr/share/lintian/overrides/mariadb-server-5.5
usr/share/man/man1/msql2mysql.1 usr/share/man/man1/msql2mysql.1
usr/share/man/man1/myisamchk.1 usr/share/man/man1/myisamchk.1
......
'''apport package hook for mariadb-5.3 '''apport package hook for mariadb-5.5
(c) 2009 Canonical Ltd. (c) 2009 Canonical Ltd.
Author: Mathias Gug <mathias.gug@canonical.com> Author: Mathias Gug <mathias.gug@canonical.com>
...@@ -20,7 +20,7 @@ def _add_my_conf_files(report, filename): ...@@ -20,7 +20,7 @@ def _add_my_conf_files(report, filename):
continue continue
def add_info(report): def add_info(report):
attach_conffiles(report, 'mariadb-server-5.3', conffiles=None) attach_conffiles(report, 'mariadb-server-5.5', conffiles=None)
key = 'Logs' + path_to_key('/var/log/daemon.log') key = 'Logs' + path_to_key('/var/log/daemon.log')
report[key] = "" report[key] = ""
for line in read_file('/var/log/daemon.log').split('\n'): for line in read_file('/var/log/daemon.log').split('\n'):
......
...@@ -191,7 +191,7 @@ install: build ...@@ -191,7 +191,7 @@ install: build
install -m 0755 $(BUILDDIR)/scripts/mysqld_safe $(TMP)/usr/bin/mysqld_safe install -m 0755 $(BUILDDIR)/scripts/mysqld_safe $(TMP)/usr/bin/mysqld_safe
mkdir -p $(TMP)/usr/share/doc/mariadb-server-5.5/examples mkdir -p $(TMP)/usr/share/doc/mariadb-server-5.5/examples
# We have a sane my.cnf, cruft not needed (remove my-*.cnf and config-*.cnf) # We have a sane my.cnf, cruft not needed (remove my-*.cnf and config-*.cnf)
# $(TMP)/usr/share/mysql/*cnf $(TMP)/usr/share/doc/mariadb-server-5.3/examples/ # $(TMP)/usr/share/mysql/*cnf $(TMP)/usr/share/doc/mariadb-server-5.5/examples/
rm -vf $(TMP)/usr/share/mysql/my-*.cnf \ rm -vf $(TMP)/usr/share/mysql/my-*.cnf \
$(TMP)/usr/share/mysql/config-*.cnf \ $(TMP)/usr/share/mysql/config-*.cnf \
$(TMP)/usr/share/mysql/mi_test_all* \ $(TMP)/usr/share/mysql/mi_test_all* \
...@@ -203,6 +203,9 @@ install: build ...@@ -203,6 +203,9 @@ install: build
install -m 0755 debian/additions/debian-start $(TMP)/etc/mysql/ install -m 0755 debian/additions/debian-start $(TMP)/etc/mysql/
install -m 0755 debian/additions/debian-start.inc.sh $(TMP)/usr/share/mysql/ install -m 0755 debian/additions/debian-start.inc.sh $(TMP)/usr/share/mysql/
install -m 0644 $(builddir)/Docs/INFO_SRC $(TMP)/usr/share/doc/mariadb-server-5.5/INFO_SRC
install -m 0644 $(builddir)/Docs/INFO_BIN $(TMP)/usr/share/doc/mariadb-server-5.5/INFO_BIN
# mariadb-test # mariadb-test
mv $(TMP)/usr/mysql-test $(TMP)/usr/share/mysql mv $(TMP)/usr/mysql-test $(TMP)/usr/share/mysql
......
mariadb-server-5.3: command-with-path-in-maintainer-script postinst mariadb-server-5.5: command-with-path-in-maintainer-script postinst
mariadb-server-5.3: possible-bashism-in-maintainer-script postinst:81 'p{("a".."z","A".."Z",0..9)[int(rand(62))]}' mariadb-server-5.5: possible-bashism-in-maintainer-script postinst:81 'p{("a".."z","A".."Z",0..9)[int(rand(62))]}'
mariadb-server-5.3: possible-bashism-in-maintainer-script preinst:33 '${cmd/ */}' mariadb-server-5.5: possible-bashism-in-maintainer-script preinst:33 '${cmd/ */}'
mariadb-server-5.3: statically-linked-binary ./usr/bin/mysql_tzinfo_to_sql mariadb-server-5.5: statically-linked-binary ./usr/bin/mysql_tzinfo_to_sql
mariadb-server-5.3: statically-linked-binary ./usr/sbin/mysqld mariadb-server-5.5: statically-linked-binary ./usr/sbin/mysqld
...@@ -152,7 +152,7 @@ case "${1:-''}" in ...@@ -152,7 +152,7 @@ case "${1:-''}" in
if ! mysqld_status check_dead warn; then if ! mysqld_status check_dead warn; then
log_end_msg 1 log_end_msg 1
log_failure_msg "Please stop MariaDB manually and read /usr/share/doc/mariadb-server-5.3/README.Debian.gz!" log_failure_msg "Please stop MariaDB manually and read /usr/share/doc/mariadb-server-5.5/README.Debian.gz!"
exit -1 exit -1
else else
log_end_msg 0 log_end_msg 0
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
# Even minor modifications require translation updates and such # Even minor modifications require translation updates and such
# changes should be coordinated with translators and reviewers. # changes should be coordinated with translators and reviewers.
Template: mariadb-server-5.3/really_downgrade Template: mariadb-server-5.5/really_downgrade
Type: boolean Type: boolean
Default: false Default: false
_Description: Really proceed with downgrade? _Description: Really proceed with downgrade?
...@@ -73,7 +73,7 @@ _Description: Unable to set password for the MariaDB "root" user ...@@ -73,7 +73,7 @@ _Description: Unable to set password for the MariaDB "root" user
. .
You should check the account's password after the package installation. You should check the account's password after the package installation.
. .
Please read the /usr/share/doc/mariadb-server-5.3/README.Debian file Please read the /usr/share/doc/mariadb-server-5.5/README.Debian file
for more information. for more information.
Template: mysql-server/password_mismatch Template: mysql-server/password_mismatch
......
...@@ -194,7 +194,7 @@ msgstr "يجب عليك التحقق من كلمة مرور الحساب عقب ...@@ -194,7 +194,7 @@ msgstr "يجب عليك التحقق من كلمة مرور الحساب عقب
#| "Please read the /usr/share/doc/mysql-server-5.1/README.Debian file for " #| "Please read the /usr/share/doc/mysql-server-5.1/README.Debian file for "
#| "more information." #| "more information."
msgid "" msgid ""
"Please read the /usr/share/doc/mariadb-server-5.3/README.Debian file for " "Please read the /usr/share/doc/mariadb-server-5.5/README.Debian file for "
"more information." "more information."
msgstr "" msgstr ""
"الرجاء قراءة الملف /usr/share/doc/mariadb-server-5.5/README.Debian للمزيد من " "الرجاء قراءة الملف /usr/share/doc/mariadb-server-5.5/README.Debian للمزيد من "
......
...@@ -161,7 +161,7 @@ msgstr "" ...@@ -161,7 +161,7 @@ msgstr ""
#. Description #. Description
#: ../mariadb-server-5.5.templates:8001 #: ../mariadb-server-5.5.templates:8001
msgid "" msgid ""
"Please read the /usr/share/doc/mariadb-server-5.3/README.Debian file for " "Please read the /usr/share/doc/mariadb-server-5.5/README.Debian file for "
"more information." "more information."
msgstr "" msgstr ""
......
...@@ -197,7 +197,7 @@ msgstr "Po instalaci balíku byste měli heslo ověřit." ...@@ -197,7 +197,7 @@ msgstr "Po instalaci balíku byste měli heslo ověřit."
#| "Please read the /usr/share/doc/mysql-server-5.1/README.Debian file for " #| "Please read the /usr/share/doc/mysql-server-5.1/README.Debian file for "
#| "more information." #| "more information."
msgid "" msgid ""
"Please read the /usr/share/doc/mariadb-server-5.3/README.Debian file for " "Please read the /usr/share/doc/mariadb-server-5.5/README.Debian file for "
"more information." "more information."
msgstr "" msgstr ""
"Více informací naleznete v /usr/share/doc/mariadb-server-5.5/README.Debian." "Více informací naleznete v /usr/share/doc/mariadb-server-5.5/README.Debian."
......
...@@ -198,7 +198,7 @@ msgstr "Du b ...@@ -198,7 +198,7 @@ msgstr "Du b
#| "Please read the /usr/share/doc/mysql-server-5.1/README.Debian file for " #| "Please read the /usr/share/doc/mysql-server-5.1/README.Debian file for "
#| "more information." #| "more information."
msgid "" msgid ""
"Please read the /usr/share/doc/mariadb-server-5.3/README.Debian file for " "Please read the /usr/share/doc/mariadb-server-5.5/README.Debian file for "
"more information." "more information."
msgstr "" msgstr ""
"Se filen /usr/share/doc/mariadb-server-5.5/README.Debian for yderligere " "Se filen /usr/share/doc/mariadb-server-5.5/README.Debian for yderligere "
......
...@@ -194,7 +194,7 @@ msgstr "" ...@@ -194,7 +194,7 @@ msgstr ""
#| "Please read the /usr/share/doc/mariadb-server-5.1/README.Debian file for " #| "Please read the /usr/share/doc/mariadb-server-5.1/README.Debian file for "
#| "more information." #| "more information."
msgid "" msgid ""
"Please read the /usr/share/doc/mariadb-server-5.3/README.Debian file for " "Please read the /usr/share/doc/mariadb-server-5.5/README.Debian file for "
"more information." "more information."
msgstr "" msgstr ""
"Für weitere Informationen lesen Sie /usr/share/doc/mariadb-server-5.1/README." "Für weitere Informationen lesen Sie /usr/share/doc/mariadb-server-5.1/README."
......
...@@ -226,7 +226,7 @@ msgstr "" ...@@ -226,7 +226,7 @@ msgstr ""
#| "Please read the /usr/share/doc/mysql-server-5.1/README.Debian file for " #| "Please read the /usr/share/doc/mysql-server-5.1/README.Debian file for "
#| "more information." #| "more information."
msgid "" msgid ""
"Please read the /usr/share/doc/mariadb-server-5.3/README.Debian file for " "Please read the /usr/share/doc/mariadb-server-5.5/README.Debian file for "
"more information." "more information."
msgstr "" msgstr ""
"Consulte /usr/share/doc/mariadb-server-5.5/README.Debian para más " "Consulte /usr/share/doc/mariadb-server-5.5/README.Debian para más "
......
...@@ -188,7 +188,7 @@ msgstr "" ...@@ -188,7 +188,7 @@ msgstr ""
#| "Please read the /usr/share/doc/mariadb-server-5.5/README.Debian file for " #| "Please read the /usr/share/doc/mariadb-server-5.5/README.Debian file for "
#| "more information." #| "more information."
msgid "" msgid ""
"Please read the /usr/share/doc/mariadb-server-5.3/README.Debian file for " "Please read the /usr/share/doc/mariadb-server-5.5/README.Debian file for "
"more information." "more information."
msgstr "" msgstr ""
"Mesedez irakurri /usr/share/doc/mariadb-server-5.5/README.Debian fitxategia " "Mesedez irakurri /usr/share/doc/mariadb-server-5.5/README.Debian fitxategia "
......
...@@ -182,7 +182,7 @@ msgstr "" ...@@ -182,7 +182,7 @@ msgstr ""
#| "Please read the /usr/share/doc/mariadb-server-5.5/README.Debian file for " #| "Please read the /usr/share/doc/mariadb-server-5.5/README.Debian file for "
#| "more information." #| "more information."
msgid "" msgid ""
"Please read the /usr/share/doc/mariadb-server-5.3/README.Debian file for " "Please read the /usr/share/doc/mariadb-server-5.5/README.Debian file for "
"more information." "more information."
msgstr "" msgstr ""
"Veuillez consulter le fichier /usr/share/doc/mysql-server-5.5/README.Debian " "Veuillez consulter le fichier /usr/share/doc/mysql-server-5.5/README.Debian "
......
...@@ -190,7 +190,7 @@ msgstr "Debería comprobar o contrasinal da conta trala instalación do paquete. ...@@ -190,7 +190,7 @@ msgstr "Debería comprobar o contrasinal da conta trala instalación do paquete.
#| "Please read the /usr/share/doc/mysql-server-5.1/README.Debian file for " #| "Please read the /usr/share/doc/mysql-server-5.1/README.Debian file for "
#| "more information." #| "more information."
msgid "" msgid ""
"Please read the /usr/share/doc/mariadb-server-5.3/README.Debian file for " "Please read the /usr/share/doc/mariadb-server-5.5/README.Debian file for "
"more information." "more information."
msgstr "" msgstr ""
"Consulte o ficheiro /usr/share/doc/mariadb-server-5.5/README.Debian para " "Consulte o ficheiro /usr/share/doc/mariadb-server-5.5/README.Debian para "
......
...@@ -181,7 +181,7 @@ msgstr "" ...@@ -181,7 +181,7 @@ msgstr ""
#| "Please read the /usr/share/doc/mariadb-server-5.5/README.Debian file for " #| "Please read the /usr/share/doc/mariadb-server-5.5/README.Debian file for "
#| "more information." #| "more information."
msgid "" msgid ""
"Please read the /usr/share/doc/mariadb-server-5.3/README.Debian file for " "Please read the /usr/share/doc/mariadb-server-5.5/README.Debian file for "
"more information." "more information."
msgstr "" msgstr ""
"Per maggiori informazioni si consulti il file /usr/share/doc/mariadb-" "Per maggiori informazioni si consulti il file /usr/share/doc/mariadb-"
......
...@@ -188,7 +188,7 @@ msgstr "" ...@@ -188,7 +188,7 @@ msgstr ""
#| "Please read the /usr/share/doc/mariadb-server-5.5/README.Debian file for " #| "Please read the /usr/share/doc/mariadb-server-5.5/README.Debian file for "
#| "more information." #| "more information."
msgid "" msgid ""
"Please read the /usr/share/doc/mariadb-server-5.3/README.Debian file for " "Please read the /usr/share/doc/mariadb-server-5.5/README.Debian file for "
"more information." "more information."
msgstr "" msgstr ""
"詳細は /usr/share/doc/mariadb-server-5.5/README.Debian を参照してください。" "詳細は /usr/share/doc/mariadb-server-5.5/README.Debian を参照してください。"
......
...@@ -206,7 +206,7 @@ msgstr "" ...@@ -206,7 +206,7 @@ msgstr ""
#. Description #. Description
#: ../mariadb-server-5.5.templates:8001 #: ../mariadb-server-5.5.templates:8001
msgid "" msgid ""
"Please read the /usr/share/doc/mariadb-server-5.3/README.Debian file for " "Please read the /usr/share/doc/mariadb-server-5.5/README.Debian file for "
"more information." "more information."
msgstr "" msgstr ""
......
...@@ -207,7 +207,7 @@ msgstr "" ...@@ -207,7 +207,7 @@ msgstr ""
#. Description #. Description
#: ../mariadb-server-5.5.templates:8001 #: ../mariadb-server-5.5.templates:8001
msgid "" msgid ""
"Please read the /usr/share/doc/mariadb-server-5.3/README.Debian file for " "Please read the /usr/share/doc/mariadb-server-5.5/README.Debian file for "
"more information." "more information."
msgstr "" msgstr ""
......
...@@ -195,7 +195,7 @@ msgstr "" ...@@ -195,7 +195,7 @@ msgstr ""
#| "Please read the /usr/share/doc/mysql-server-5.1/README.Debian file for " #| "Please read the /usr/share/doc/mysql-server-5.1/README.Debian file for "
#| "more information." #| "more information."
msgid "" msgid ""
"Please read the /usr/share/doc/mariadb-server-5.3/README.Debian file for " "Please read the /usr/share/doc/mariadb-server-5.5/README.Debian file for "
"more information." "more information."
msgstr "" msgstr ""
"Para mais informação por favor leia o ficheiro /usr/share/doc/mariadb-" "Para mais informação por favor leia o ficheiro /usr/share/doc/mariadb-"
......
...@@ -194,7 +194,7 @@ msgstr "Você deverá checar a senha dessa conta após a instalação deste paco ...@@ -194,7 +194,7 @@ msgstr "Você deverá checar a senha dessa conta após a instalação deste paco
#| "Please read the /usr/share/doc/mysql-server-5.1/README.Debian file for " #| "Please read the /usr/share/doc/mysql-server-5.1/README.Debian file for "
#| "more information." #| "more information."
msgid "" msgid ""
"Please read the /usr/share/doc/mariadb-server-5.3/README.Debian file for " "Please read the /usr/share/doc/mariadb-server-5.5/README.Debian file for "
"more information." "more information."
msgstr "" msgstr ""
"Por favor, leia o arquivo /usr/share/doc/mariadb-server-5.5/README.Debian " "Por favor, leia o arquivo /usr/share/doc/mariadb-server-5.5/README.Debian "
......
...@@ -206,7 +206,7 @@ msgstr "" ...@@ -206,7 +206,7 @@ msgstr ""
#. Description #. Description
#: ../mariadb-server-5.5.templates:8001 #: ../mariadb-server-5.5.templates:8001
msgid "" msgid ""
"Please read the /usr/share/doc/mariadb-server-5.3/README.Debian file for " "Please read the /usr/share/doc/mariadb-server-5.5/README.Debian file for "
"more information." "more information."
msgstr "" msgstr ""
......
...@@ -189,7 +189,7 @@ msgstr "Проверьте пароль учётной записи после ...@@ -189,7 +189,7 @@ msgstr "Проверьте пароль учётной записи после
#| "Please read the /usr/share/doc/mariadb-server-5.5/README.Debian file for " #| "Please read the /usr/share/doc/mariadb-server-5.5/README.Debian file for "
#| "more information." #| "more information."
msgid "" msgid ""
"Please read the /usr/share/doc/mariadb-server-5.3/README.Debian file for " "Please read the /usr/share/doc/mariadb-server-5.5/README.Debian file for "
"more information." "more information."
msgstr "" msgstr ""
"Подробности см. в файле /usr/share/doc/mariadb-server-5.5/README.Debian." "Подробности см. в файле /usr/share/doc/mariadb-server-5.5/README.Debian."
......
...@@ -182,7 +182,7 @@ msgstr "Du bör kontrollera kontots lösenord efter installationen av paketet." ...@@ -182,7 +182,7 @@ msgstr "Du bör kontrollera kontots lösenord efter installationen av paketet."
#| "Please read the /usr/share/doc/mariadb-server-5.5/README.Debian file for " #| "Please read the /usr/share/doc/mariadb-server-5.5/README.Debian file for "
#| "more information." #| "more information."
msgid "" msgid ""
"Please read the /usr/share/doc/mariadb-server-5.3/README.Debian file for " "Please read the /usr/share/doc/mariadb-server-5.5/README.Debian file for "
"more information." "more information."
msgstr "" msgstr ""
"Läs filen /usr/share/doc/mariadb-server-5.5/README.Debian för mer " "Läs filen /usr/share/doc/mariadb-server-5.5/README.Debian för mer "
......
...@@ -155,7 +155,7 @@ msgstr "" ...@@ -155,7 +155,7 @@ msgstr ""
#. Description #. Description
#: ../mariadb-server-5.5.templates:8001 #: ../mariadb-server-5.5.templates:8001
msgid "" msgid ""
"Please read the /usr/share/doc/mariadb-server-5.3/README.Debian file for " "Please read the /usr/share/doc/mariadb-server-5.5/README.Debian file for "
"more information." "more information."
msgstr "" msgstr ""
......
...@@ -162,7 +162,7 @@ msgstr "" ...@@ -162,7 +162,7 @@ msgstr ""
#. Description #. Description
#: ../mariadb-server-5.5.templates:8001 #: ../mariadb-server-5.5.templates:8001
msgid "" msgid ""
"Please read the /usr/share/doc/mariadb-server-5.3/README.Debian file for " "Please read the /usr/share/doc/mariadb-server-5.5/README.Debian file for "
"more information." "more information."
msgstr "" msgstr ""
......
maintainer-script-lacks-debhelper-token debian/mariadb-server-5.3.postinst maintainer-script-lacks-debhelper-token debian/mariadb-server-5.5.postinst
maintainer-script-lacks-debhelper-token debian/mariadb-server-5.3.postrm maintainer-script-lacks-debhelper-token debian/mariadb-server-5.5.postrm
...@@ -29,8 +29,9 @@ if ($dir_bin eq '/usr/') { ...@@ -29,8 +29,9 @@ if ($dir_bin eq '/usr/') {
# SuSE: "packages/" in the documentation path # SuSE: "packages/" in the documentation path
$dir_docs = glob "$dir_docs/packages/MySQL-server*"; $dir_docs = glob "$dir_docs/packages/MySQL-server*";
} else { } else {
# RedHat: version number in directory name # RedHat/Debian: version number in directory name
$dir_docs = glob "$dir_docs/MySQL-server*"; $dir_docs = glob "$dir_docs/mariadb-server-*";
$dir_docs = glob "$dir_docs/MySQL-server*" unless -d $dir_docs;
} }
} else { } else {
# tar.gz package, Windows, or developer work (in BZR) # tar.gz package, Windows, or developer work (in BZR)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment