From 29c5d96da3c8cd62de02639257f78c62660a809e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Otto=20Kek=C3=A4l=C3=A4inen?= Date: Tue, 7 Apr 2020 20:29:16 +0300 Subject: [PATCH] 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) --- debian/additions/innotop/innotop | 2 +- debian/additions/mysql.init | 0 debian/mariadb-common.postrm | 3 ++- debian/mysql-common.postrm | 3 ++- 4 files changed, 5 insertions(+), 3 deletions(-) mode change 100644 => 100755 debian/additions/mysql.init diff --git a/debian/additions/innotop/innotop b/debian/additions/innotop/innotop index 00777b6b9fc..941d3c901cb 100644 --- a/debian/additions/innotop/innotop +++ b/debian/additions/innotop/innotop @@ -1,4 +1,4 @@ -#!/usr/bin/env perl +#!/usr/bin/perl # vim: tw=160:nowrap:expandtab:tabstop=3:shiftwidth=3:softtabstop=3 diff --git a/debian/additions/mysql.init b/debian/additions/mysql.init old mode 100644 new mode 100755 diff --git a/debian/mariadb-common.postrm b/debian/mariadb-common.postrm index 027592f816e..14007fb9149 100644 --- a/debian/mariadb-common.postrm +++ b/debian/mariadb-common.postrm @@ -1,4 +1,5 @@ -#!/bin/bash -e +#!/bin/bash +set -e if [ "$1" = "purge" ]; then rmdir /etc/mysql/conf.d 2>/dev/null || true diff --git a/debian/mysql-common.postrm b/debian/mysql-common.postrm index 0d3f8aed83d..4418e5fa304 100644 --- a/debian/mysql-common.postrm +++ b/debian/mysql-common.postrm @@ -1,4 +1,5 @@ -#!/bin/bash -e +#!/bin/bash +set -e if [ "$1" = "purge" ]; then rmdir /etc/mysql 2>/dev/null || true