Jean-Philippe Pialasse
fbc84843d3
- tidy spec and sources for mariadb10.5 support [SME: 12524] - try to make compatible with higher version from mariadb repo [SME: 11856] - fix logrotate duplicate entry [SME: 12554] * Thu Apr 04 2024 Brian Read <brianr@koozali.org> 11.0.0-3.sme - Set license file to GPL2.0 [SME: 12577]
12 lines
315 B
Bash
12 lines
315 B
Bash
#! /bin/sh
|
|
|
|
exec 2>&1
|
|
if [ ! -f /var/lib/mysql/mysql/user.frm ]
|
|
then
|
|
setuidgid mysql sh /usr/bin/mysql_install_db --rpm --skip-test-db --user=mysql --group=mysql
|
|
if [ -f /home/e-smith/db/mysql/mysql.dump ]
|
|
then
|
|
/sbin/e-smith/expand-template /etc/e-smith/sql/init/00_restore_dumped_dbs
|
|
fi
|
|
fi
|