git » mariadb.git » commit 072e646

upgpkg: 10.1.20-4

author Christian Hesse
2017-01-11 15:57:45 UTC
committer Christian Hesse
2017-01-11 15:57:45 UTC
parent ba18065c887c1642da5c6b8d2f5bc2e2df037221

upgpkg: 10.1.20-4

pacman hook: do not call systemd-sysusers and systemd-tmpfiles from install script

PKGBUILD +1 -1
mariadb.install +0 -15

diff --git a/PKGBUILD b/PKGBUILD
index 7099274..960c859 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,7 +5,7 @@ pkgbase=mariadb
 pkgname=('libmariadbclient' 'mariadb-clients' 'mytop' 'mariadb')
 pkgver=10.1.20
 _pkgver=${pkgver/.a/a}
-pkgrel=3
+pkgrel=4
 arch=('i686' 'x86_64')
 license=('GPL')
 url='http://mariadb.org/'
diff --git a/mariadb.install b/mariadb.install
index c0257fc..44e4825 100644
--- a/mariadb.install
+++ b/mariadb.install
@@ -1,11 +1,4 @@
 post_install(){
-  if hash systemd-sysusers &> /dev/null; then
-    systemd-sysusers mariadb.conf
-  fi
-
-  if hash systemd-tmpfiles &> /dev/null; then
-    systemd-tmpfiles --create mariadb.conf
-  fi
 
   echo ":: You need to initialize the MariaDB data directory prior to starting"
   echo "   the service. This can be done with mysql_install_db command, e.g.:"
@@ -13,12 +6,4 @@ post_install(){
 
 }
 
-post_upgrade(){
-  if hash systemd-sysusers &> /dev/null; then
-    systemd-sysusers mariadb.conf
-  fi
 
-  if hash systemd-tmpfiles &> /dev/null; then
-    systemd-tmpfiles --create mariadb.conf
-  fi
-}