install.sh: prepare config earlier

This commit is contained in:
xiongdian.me 2023-01-31 16:25:01 +08:00
parent 2433f2c562
commit 2d628580de

View File

@ -265,9 +265,9 @@ uninstall_update()
install() install()
{ {
if [[ "$INSTALL_DEP" == "1" ]]; then install_dependencies; fi if [[ "$INSTALL_DEP" == "1" ]]; then install_dependencies; fi
prepare_config
install_update install_update
preinstall_check preinstall_check
prepare_config
install_crontab install_crontab
install_file_content install_file_content
install_symlink install_symlink