From: Dharmik Parmar Date: Thu, 18 Jun 2026 16:06:02 +0000 (+0530) Subject: fish: fix postrm script interpreter X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=909597789ce5881ffda48250f44ada1d2e92cbf7;p=openwrt-packages.git fish: fix postrm script interpreter 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: #29348 Signed-off-by: Dharmik Parmar --- diff --git a/utils/fish/Makefile b/utils/fish/Makefile index 3cae0c993..b97c0c2ec 100644 --- a/utils/fish/Makefile +++ b/utils/fish/Makefile @@ -6,7 +6,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=fish PKG_VERSION:=4.7.1 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz PKG_SOURCE_URL:=https://github.com/fish-shell/fish-shell/releases/download/$(PKG_VERSION) @@ -84,7 +84,8 @@ fi endef define Package/fish/postrm - rm -rf "$${IPKG_INSTROOT}/$(CONFIGURE_PREFIX)/share/fish/$(PKG_VERSION)" +#!/bin/sh +rm -rf "$${IPKG_INSTROOT}/$(CONFIGURE_PREFIX)/share/fish/$(PKG_VERSION)" endef $(eval $(call BuildPackage,fish))