You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the case of securedrop-export.postrm, I had used bash syntax in freedomofpress/securedrop-client@a56b866 except it's shebang is plain /bin/sh, so it uses the POSIX dash shell, causing issues.
My preference is using bash everywhere unconditionally, using dash gives a small performance benefit but given the number of packages we're installing, it's pretty minor IMO (unlike across all of Debian) versus the nicer feature set of bash.
The text was updated successfully, but these errors were encountered:
copied from freedomofpress/securedrop-client#1878
Description
We currently inconsistently use bash and dash (
/bin/sh
) when executing postinst/prerm/etc. scripts in Debian packaging:In the case of securedrop-export.postrm, I had used bash syntax in freedomofpress/securedrop-client@a56b866 except it's shebang is plain
/bin/sh
, so it uses the POSIX dash shell, causing issues.My preference is using bash everywhere unconditionally, using dash gives a small performance benefit but given the number of packages we're installing, it's pretty minor IMO (unlike across all of Debian) versus the nicer feature set of bash.
The text was updated successfully, but these errors were encountered: