Browse Source

fix order of upgrade functions

pull/1162/head
p0lycarpio 8 months ago
parent
commit
1f9638c918
  1. 9
      installers/common.sh

9
installers/common.sh

@ -43,9 +43,14 @@ function _install_raspap() {
_update_system_packages
_install_dependencies
_enable_php_lighttpd
_create_raspap_directories
if [ "$upgrade" == 1 ]; then
_check_for_old_configs
_create_raspap_directories
else
_create_raspap_directories
_check_for_old_configs
fi
_optimize_php
_check_for_old_configs
_download_latest_files
_change_file_ownership
_create_hostapd_scripts

Loading…
Cancel
Save