@ -6,7 +6,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME := fish
PKG_NAME := fish
PKG_VERSION := 3.0.2
PKG_VERSION := 3.0.2
PKG_RELEASE := 5
PKG_RELEASE := 6
PKG_SOURCE := $( PKG_NAME) -$( PKG_VERSION) .tar.gz
PKG_SOURCE := $( PKG_NAME) -$( PKG_VERSION) .tar.gz
PKG_SOURCE_URL := https://github.com/fish-shell/fish-shell/releases/download/$( PKG_VERSION)
PKG_SOURCE_URL := https://github.com/fish-shell/fish-shell/releases/download/$( PKG_VERSION)
@ -54,10 +54,10 @@ define Package/fish/postinst
g r e p f i s h $$ { I P K G _ I N S T R O O T } / e t c / s h e l l s | | \
g r e p f i s h $$ { I P K G _ I N S T R O O T } / e t c / s h e l l s | | \
echo "/usr/bin/fish" >> $$ { IPKG_INSTROOT} /etc/shells
echo "/usr/bin/fish" >> $$ { IPKG_INSTROOT} /etc/shells
# Backwards compatibility
if [ -e /bin/fish ] && { [ ! -L /bin/fish ] || [ " $( readlink -fn $$ { IPKG_INSTROOT} /bin/fish) " != " ../ $( CONFIGURE_PREFIX) /bin/fish " ] ; } ; the n
ln -fs " ../ $( CONFIGURE_PREFIX) /bin/fish " " $$ {IPKG_INSTROOT}/bin/fish "
f i
# Backwards compatibility
i f [ - e / b i n / f i s h ] & & { [ ! - L / b i n / f i s h ] | | [ "$(readlink -fn $${IPKG_INSTROOT}/bin/fish)" ! = "../$(CONFIGURE_PREFIX)/bin/fish" ] ; } ; t h e n
ln -fs " ../ $( CONFIGURE_PREFIX) /bin/fish " " $$ {IPKG_INSTROOT}/bin/fish "
f i
e n d e f
e n d e f
d e f i n e P a c k a g e / f i s h / p o s t r m
d e f i n e P a c k a g e / f i s h / p o s t r m