Skip to content

Commit 41e86a9

Browse files
authored
Merge pull request #1789 from RaspAP/fix/installer-update
Fix for automated version update on About page
2 parents 9ada9f9 + c2abce1 commit 41e86a9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

ajax/system/sys_perform_update.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
}
1313
// set installer path + options
1414
$path = getenv("DOCUMENT_ROOT");
15-
$opts = " --update --yes --path $path";
15+
$opts = " --update --yes --check 0 --path $path";
1616
$installer = "sudo /etc/raspap/system/raspbian.sh";
1717
$execUpdate = $installer.$opts;
1818

installers/common.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -318,7 +318,7 @@ function _create_hostapd_scripts() {
318318
# Generate plugin helper scripts
319319
function _create_plugin_scripts() {
320320
_install_log "Creating plugin helper scripts"
321-
sudo mkdir $raspap_dir/plugins || _install_status 1 "Unable to create directory '$raspap_dir/plugins'"
321+
sudo mkdir -p $raspap_dir/plugins || _install_status 1 "Unable to create directory '$raspap_dir/plugins'"
322322

323323
# Copy plugin helper script
324324
sudo cp "$webroot_dir/installers/"plugin_helper.sh "$raspap_dir/plugins" || _install_status 1 "Unable to move plugin script"

0 commit comments

Comments
 (0)