Can add sql action after an initdemo

This commit is contained in:
Laurent Destailleur 2021-04-30 11:13:24 +02:00
parent 5a1f2db024
commit 1e1ea053bd
2 changed files with 5 additions and 0 deletions

1
dev/initdemo/.gitignore vendored Normal file
View File

@ -0,0 +1 @@
/initdemopostsql.sql

View File

@ -170,6 +170,10 @@ if [ $res -ne 0 ]; then
exit
fi
if [ -s "$mydir/initdemopostsql.sql" ]; then
mysql -P$port $base < "$mydir/initdemopostsql.sql"
fi
if [ "x$res" = "x0" ]
then