extra/mariadb to 10.1.20-4

This commit is contained in:
Kevin Mihelich 2017-01-12 00:59:27 +00:00
parent 3a49e640c8
commit 254abb772b
2 changed files with 1 additions and 16 deletions

View file

@ -9,7 +9,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/'

View file

@ -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
}