add migration to install script

This commit is contained in:
Alireza Ahmadi
2024-06-09 22:51:05 +02:00
parent 6a5e0a940b
commit 8e369535bf
+3
View File
@@ -76,6 +76,9 @@ install_base() {
} }
config_after_install() { config_after_install() {
echo -e "${yellow}Migration... ${plain}"
/usr/local/s-ui/sui migrate
echo -e "${yellow}Install/update finished! For security it's recommended to modify panel settings ${plain}" echo -e "${yellow}Install/update finished! For security it's recommended to modify panel settings ${plain}"
read -p "Do you want to continue with the modification [y/n]? ": config_confirm read -p "Do you want to continue with the modification [y/n]? ": config_confirm
if [[ "${config_confirm}" == "y" || "${config_confirm}" == "Y" ]]; then if [[ "${config_confirm}" == "y" || "${config_confirm}" == "Y" ]]; then