Skip to content

Commit

Permalink
Cosmetic
Browse files Browse the repository at this point in the history
  • Loading branch information
mkreisl committed Feb 18, 2024
1 parent 96939c6 commit c0e1cd6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build.package
Original file line number Diff line number Diff line change
Expand Up @@ -380,8 +380,8 @@ do_deb()
sed -i '/__CTRLEXTRA__/d' content/DEBIAN/control $ctrldbg
fi

if [ -n "$config_deb_replaces" ]; then
sed -i "s%__REPLACES__%$config_deb_replaces,%" content/DEBIAN/control
if [ -n "$config_deb_replaces" ]; then
sed -i "s%__REPLACES__%$config_deb_replaces,%" content/DEBIAN/control
printf "%b\n" "$(cat content/DEBIAN/control)" > content/DEBIAN/control.new
mv content/DEBIAN/control.new content/DEBIAN/control
fi
Expand Down

0 comments on commit c0e1cd6

Please sign in to comment.