1
0
mirror of https://github.com/j-a-n/raspberrymatic-addon-rmupdate.git synced 2023-10-10 13:37:40 +02:00

Fix root= regex

This commit is contained in:
Jan Schneider 2017-06-19 00:21:07 +02:00
parent babc7641f7
commit 92bcb9b3ca
3 changed files with 2 additions and 2 deletions

View File

@ -154,7 +154,7 @@ proc ::rmupdate::update_cmdline {cmdline root} {
set data [read $fd]
close $fd
regsub -all "root=\[a-zA-Z0-9=/-\]+\s" $data "root=${root} " data
regsub -all "root=\[a-zA-Z0-9\=/\-\]+ " $data "root=${root} " data
set fd [open $cmdline w]
puts $fd $data

View File

@ -139,11 +139,11 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
},
function(xhr, ajaxOptions, thrownError) {
$('[data-install-version="' + installation_running + '"]').removeClass('loading');
installation_running = "";
//$('#modal-log').modal('hide');
if (installation_running) {
//get_firmware_info();
default_error_callback(xhr, ajaxOptions, thrownError);
installation_running = "";
}
}
);

Binary file not shown.