[arch-commits] Commit in mariadb/trunk (PKGBUILD mariadb.install)

Christian Hesse eworm at archlinux.org
Wed Jan 11 15:57:46 UTC 2017


    Date: Wednesday, January 11, 2017 @ 15:57:45
  Author: eworm
Revision: 285685

upgpkg: mariadb 10.1.20-4

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

Modified:
  mariadb/trunk/PKGBUILD
  mariadb/trunk/mariadb.install

-----------------+
 PKGBUILD        |    2 +-
 mariadb.install |   15 ---------------
 2 files changed, 1 insertion(+), 16 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-01-11 15:49:48 UTC (rev 285684)
+++ PKGBUILD	2017-01-11 15:57:45 UTC (rev 285685)
@@ -6,7 +6,7 @@
 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/'

Modified: mariadb.install
===================================================================
--- mariadb.install	2017-01-11 15:49:48 UTC (rev 285684)
+++ mariadb.install	2017-01-11 15:57:45 UTC (rev 285685)
@@ -1,12 +1,5 @@
 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.:"
   echo "   mysql_install_db --user=mysql --basedir=/usr --datadir=/var/lib/mysql"
@@ -13,12 +6,4 @@
 
 }
 
-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
-}



More information about the arch-commits mailing list