mirror of https://github.com/pi-hole/pi-hole
use sed substitute instead of delete and append (#4555)
* use sed substitute instead of delete and append doesn't move the line to the end of the file, instead keeps the order of the lines in setupVars.conf intact Signed-off-by: Lukas Schlötterer <80917404+lschloetterer@users.noreply.github.com> * Match start of line as suggested in the review Signed-off-by: Lukas Schlötterer <80917404+lschloetterer@users.noreply.github.com> Co-authored-by: yubiuser <ckoenig@posteo.de> Co-authored-by: yubiuser <ckoenig@posteo.de>pull/4562/head
parent
918f7a504c
commit
ed6b85241b
Loading…
Reference in new issue