mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-09-19 22:08:32 +00:00
extra/mariadb to 10.1.20-4
This commit is contained in:
parent
3a49e640c8
commit
254abb772b
|
@ -9,7 +9,7 @@ pkgbase=mariadb
|
||||||
pkgname=('libmariadbclient' 'mariadb-clients' 'mytop' 'mariadb')
|
pkgname=('libmariadbclient' 'mariadb-clients' 'mytop' 'mariadb')
|
||||||
pkgver=10.1.20
|
pkgver=10.1.20
|
||||||
_pkgver=${pkgver/.a/a}
|
_pkgver=${pkgver/.a/a}
|
||||||
pkgrel=3
|
pkgrel=4
|
||||||
arch=('i686' 'x86_64')
|
arch=('i686' 'x86_64')
|
||||||
license=('GPL')
|
license=('GPL')
|
||||||
url='http://mariadb.org/'
|
url='http://mariadb.org/'
|
||||||
|
|
|
@ -1,11 +1,4 @@
|
||||||
post_install(){
|
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 ":: 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 " 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
|
|
||||||
}
|
|
||||||
|
|
Loading…
Reference in a new issue