MDEV-21869: Make Debian packaging Lintian clean

Fix Lintian complaints on:
 P: maintainer-script-without-set-e
 W: mariadb-server-10.5: script-not-executable usr/share/mysql/mysql.init
 W: mariadb-client-10.5: incorrect-path-for-interpreter usr/bin/innotop
    (#!/usr/bin/env perl != /usr/bin/perl)
This commit is contained in:
Otto Kekäläinen 2020-04-07 20:29:16 +03:00 committed by Vicențiu-Marian Ciorbaru
parent a4c5480525
commit 29c5d96da3
4 changed files with 5 additions and 3 deletions

View file

@ -1,4 +1,4 @@
#!/usr/bin/env perl
#!/usr/bin/perl
# vim: tw=160:nowrap:expandtab:tabstop=3:shiftwidth=3:softtabstop=3

0
debian/additions/mysql.init vendored Normal file → Executable file
View file

View file

@ -1,4 +1,5 @@
#!/bin/bash -e
#!/bin/bash
set -e
if [ "$1" = "purge" ]; then
rmdir /etc/mysql/conf.d 2>/dev/null || true

View file

@ -1,4 +1,5 @@
#!/bin/bash -e
#!/bin/bash
set -e
if [ "$1" = "purge" ]; then
rmdir /etc/mysql 2>/dev/null || true