fish: fix postrm script interpreter#29774
Conversation
b6e67fa to
3706fe0
Compare
|
CI is failing. My previous PRs did not hit this, Did it change recently? |
Add the missing shell interpreter line to the postrm script. This lets apk run the generated post-deinstall hook when fish is removed. Bump PKG_RELEASE for the package script change. Fixes: openwrt#29348 Signed-off-by: Dharmik Parmar <dharmikparmar2004@yahoo.com>
3706fe0 to
1246187
Compare
|
I noticed this same apk-side failure in another package too ( It looks like the common pattern is that apk executes the generated maintainer Will it be helpful if I look into a few more of these, or will it be considered |
I think you missed this. @BKPepe |
Add the missing shell interpreter line to the fish
postrmscript so apk canrun the generated post-deinstall hook when fish is removed.
Without the shebang, apk:
Fixes: #29348
📦 Package Details
Maintainer: Curtis Jiang @jqqqqqqqqqq
Description:
Fix the fish package removal hook by adding the missing
#!/bin/shline tothe generated
postrmscript.🧪 Run Testing Details
Tested with:
Before this change,
apk del fishreportedexecve: Exec format errorwhilerunning the fish post-deinstall hook.
✅ Formalities
If your PR contains a patch: