From 124618761a3c80ef662c4cbcf735059b7757f424 Mon Sep 17 00:00:00 2001 From: Dharmik Parmar Date: Thu, 18 Jun 2026 21:36:02 +0530 Subject: [PATCH] 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 --- utils/fish/Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/utils/fish/Makefile b/utils/fish/Makefile index 3cae0c993b93c5..b97c0c2ecf8cff 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))