mariadb/support-files/rpm/plugin-postin.sh
Sergei Golubchik 61a6f4bd96 MDEV-14560 Extra engines enabled through additional config are not loaded on first installation
Use RedHat-recommended /var/lib/rpm-state/mariadb/ for restart flag.
This also fixes SUSE where /var/lib/rpm-state doesn't necessarily exist.
2018-09-22 00:20:25 +02:00

3 lines
81 B
Bash

# request the server restart
mkdir -p %{restart_flag_dir}
echo > %{restart_flag}