- 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:
lenz@mysql.com 2003-02-25 15:20:07 +01:00
commit 541ba610b1
4 changed files with 182 additions and 119 deletions

View file

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