|
|
@ -6,7 +6,7 @@ include $(TOPDIR)/rules.mk |
|
|
|
|
|
|
|
PKG_NAME:=fish |
|
|
|
PKG_VERSION:=3.0.2 |
|
|
|
PKG_RELEASE:=5 |
|
|
|
PKG_RELEASE:=6 |
|
|
|
|
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz |
|
|
|
PKG_SOURCE_URL:=https://github.com/fish-shell/fish-shell/releases/download/$(PKG_VERSION) |
|
|
@ -54,10 +54,10 @@ define Package/fish/postinst |
|
|
|
grep 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" ]; }; then |
|
|
|
ln -fs "../$(CONFIGURE_PREFIX)/bin/fish" "$${IPKG_INSTROOT}/bin/fish" |
|
|
|
fi |
|
|
|
# Backwards compatibility
|
|
|
|
if [ -e /bin/fish ] && { [ ! -L /bin/fish ] || [ "$(readlink -fn $${IPKG_INSTROOT}/bin/fish)" != "../$(CONFIGURE_PREFIX)/bin/fish" ]; }; then |
|
|
|
ln -fs "../$(CONFIGURE_PREFIX)/bin/fish" "$${IPKG_INSTROOT}/bin/fish" |
|
|
|
fi |
|
|
|
endef |
|
|
|
|
|
|
|
define Package/fish/postrm |
|
|
|