Skip to content

Commit b6e67fa

Browse files
committed
fish: fix postrm script interpreter
Add the missing shell interpreter line to the postrm script so apk can run the generated post-deinstall hook when fish is removed. Fixes: #29348 Signed-off-by: Dharmik Parmar <dharmikparmar2004@yahoo.com>
1 parent 0627b41 commit b6e67fa

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

utils/fish/Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,8 @@ fi
8484
endef
8585

8686
define Package/fish/postrm
87-
rm -rf "$${IPKG_INSTROOT}/$(CONFIGURE_PREFIX)/share/fish/$(PKG_VERSION)"
87+
#!/bin/sh
88+
rm -rf "$${IPKG_INSTROOT}/$(CONFIGURE_PREFIX)/share/fish/$(PKG_VERSION)"
8889
endef
8990

9091
$(eval $(call BuildPackage,fish))

0 commit comments

Comments
 (0)