mirror of
https://github.com/MariaDB/server.git
synced 2026-05-10 09:04:29 +02:00
- Heavily reworked the Do-pkg script to use functions from logger.pm
- moved helper functions from Bootstrap script to logger.pm
This commit is contained in:
parent
fb43cce1f6
commit
541ba610b1
4 changed files with 182 additions and 119 deletions
|
|
@ -8,11 +8,14 @@
|
|||
# afterwards.
|
||||
#
|
||||
|
||||
cd @prefix@
|
||||
if [ ! -f data/mysql/db.frm ] ; then
|
||||
./scripts/mysql_install_db
|
||||
fi
|
||||
if cd @prefix@ ; then
|
||||
if [ ! -f data/mysql/db.frm ] ; then
|
||||
./scripts/mysql_install_db
|
||||
fi
|
||||
|
||||
if [ -d data ] ; then
|
||||
chown -R @MYSQLD_USER@ data
|
||||
if [ -d data ] ; then
|
||||
chown -R @MYSQLD_USER@ data
|
||||
fi
|
||||
else
|
||||
exit $?
|
||||
fi
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue