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:
parent
babc7641f7
commit
92bcb9b3ca
@ -154,7 +154,7 @@ proc ::rmupdate::update_cmdline {cmdline root} {
|
|||||||
set data [read $fd]
|
set data [read $fd]
|
||||||
close $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]
|
set fd [open $cmdline w]
|
||||||
puts $fd $data
|
puts $fd $data
|
||||||
|
@ -139,11 +139,11 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||||||
},
|
},
|
||||||
function(xhr, ajaxOptions, thrownError) {
|
function(xhr, ajaxOptions, thrownError) {
|
||||||
$('[data-install-version="' + installation_running + '"]').removeClass('loading');
|
$('[data-install-version="' + installation_running + '"]').removeClass('loading');
|
||||||
installation_running = "";
|
|
||||||
//$('#modal-log').modal('hide');
|
//$('#modal-log').modal('hide');
|
||||||
if (installation_running) {
|
if (installation_running) {
|
||||||
//get_firmware_info();
|
//get_firmware_info();
|
||||||
default_error_callback(xhr, ajaxOptions, thrownError);
|
default_error_callback(xhr, ajaxOptions, thrownError);
|
||||||
|
installation_running = "";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
BIN
rmupdate.tar.gz
BIN
rmupdate.tar.gz
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user