mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-03-19 00:21:40 +00:00
extra/mariadb to 10.1.20-4
This commit is contained in:
parent
3a49e640c8
commit
254abb772b
2 changed files with 1 additions and 16 deletions
|
@ -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/'
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue