diff --git a/makeboarddeb.sh b/makeboarddeb.sh index ae86206173..421f371e74 100644 --- a/makeboarddeb.sh +++ b/makeboarddeb.sh @@ -62,7 +62,7 @@ create_board_package() # postrm script cat <<-EOF > $destination/DEBIAN/postrm #!/bin/sh - [ remove = "\$1"] || [ abort-install = "\$1" ] dpkg-divert --package linux-${RELEASE}-root-${DEB_BRANCH}${BOARD} --remove --rename \ + [ remove = "\$1" ] || [ abort-install = "\$1" ] dpkg-divert --package linux-${RELEASE}-root-${DEB_BRANCH}${BOARD} --remove --rename \ --divert /etc/mpv/mpv-dist.conf /etc/mpv/mpv.conf exit 0 EOF