Skip to content

Commit

Permalink
Remove extra line
Browse files Browse the repository at this point in the history
  • Loading branch information
gpunathilell committed Jul 9, 2024
1 parent 05a3aff commit c279753
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion build_debian.sh
Original file line number Diff line number Diff line change
Expand Up @@ -416,7 +416,6 @@ filename="$FILESYSTEM_ROOT/sbin/resolvconf"
sudo sed -i '/report_err \"Run lock held by another process for longer than $LOCK_WAIT_S seconds\"; exit 1; /a \ echo \"${MYNAME} Run lock obtained by PID $$, PPID $PPID\" >&2 ;' $filename
sudo sed -i '/: >| \"$ENABLE_UPDATES_FLAGFILE\" || exit 1/c\ : >| \"$ENABLE_UPDATES_FLAGFILE\" || { report_err \"Unable to create ENABLE_UPDATES_FLAGFILE\"; exit 1 ; }' $filename
sudo sed -i '/rm -f "$ENABLE_UPDATES_FLAGFILE" || exit 1/c\ rm -f \"$ENABLE_UPDATES_FLAGFILE\" || { report_err \"Unable to remove ENABLE_UPDATES_FLAGFILE\"; exit 1 ; }' $filename
sudo sed -i '/rm -f "$ENABLE_UPDATES_FLAGFILE" || exit 1/c\ rm -f \"$ENABLE_UPDATES_FLAGFILE\" || { report_err \"Unable to remove ENABLE_UPDATES_FLAGFILE\"; exit 1 ; }' $filename
repl_text="{report_err \"ENABLE_UPDATES_FLAGFILE does not exist\"; exit 1;}"
sudo awk -v replacement="$repl_text" '
{
Expand Down

0 comments on commit c279753

Please sign in to comment.