From b6600f9b33557b9a8f52d09e6e9815c1d6c68d76 Mon Sep 17 00:00:00 2001 From: root Date: Fri, 22 Nov 2019 12:07:29 +0100 Subject: [PATCH] Dependency install script fixes --- debian/control | 2 +- debian/postinst | 1 + debian/postrm | 4 ---- 3 files changed, 2 insertions(+), 5 deletions(-) delete mode 100644 debian/postrm diff --git a/debian/control b/debian/control index c01a205..fe3cc5f 100644 --- a/debian/control +++ b/debian/control @@ -8,7 +8,7 @@ Homepage: http://www.verdnatura.es Package: vn-mysql Architecture: any -Depends: ${shlibs:Depends}, ${misc:Depends}, mysql-server (>= 5.5.27) | mariadb-galera-server (>= 5.5.27) | mariadb-server (>= 5.5.27), libglib2.0-0 +Depends: ${misc:Depends}, ${shlibs:Depends}, mysql-server (>= 5.5.27) | mariadb-galera-server (>= 5.5.27) | mariadb-server (>= 5.5.27), libglib2.0-0 Description: MySQL plugins This package contains some useful MySQL plugins developed by Verdnatura. diff --git a/debian/postinst b/debian/postinst index ff5d43c..3abb1ae 100644 --- a/debian/postinst +++ b/debian/postinst @@ -1,4 +1,5 @@ #! /bin/sh +set -e chown mysql:mysql /etc/mysql/proxy-auth.sql chmod u=rw,go-rwx /etc/mysql/proxy-auth.sql diff --git a/debian/postrm b/debian/postrm deleted file mode 100644 index c28a9b5..0000000 --- a/debian/postrm +++ /dev/null @@ -1,4 +0,0 @@ -#! /bin/sh - -#service mysql restart -exit 0