-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fish: updated to v3.0.0, revert "apropos fix" for being fixed officially
Signed-off-by: Hao Dong <[email protected]>
- Loading branch information
Hao Dong
committed
Dec 30, 2018
1 parent
bf2521f
commit bcd30e0
Showing
2 changed files
with
9 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,12 +5,12 @@ | |
include $(TOPDIR)/rules.mk | ||
|
||
PKG_NAME:=fish | ||
PKG_VERSION:=2.7.1 | ||
PKG_RELEASE:=2 | ||
PKG_VERSION:=3.0.0 | ||
PKG_RELEASE:=3 | ||
|
||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz | ||
PKG_SOURCE_URL:=https://codeload.github.com/fish-shell/fish-shell/tar.gz/$(PKG_VERSION)? | ||
PKG_HASH:=eb43ea2eb9accf76661c487dd530a5fd345fa40a3201bd22cef2c52be39fb474 | ||
PKG_HASH:=a16b0ff31111167ef4f3831ef428bb236bef592b7f49a2867bf42405ee95ff33 | ||
PKG_MAINTAINER:=Curtis Jiang <[email protected]> | ||
PKG_LICENSE:=GPL-2.0 | ||
|
||
|
@@ -58,13 +58,10 @@ grep fish $${IPKG_INSTROOT}/etc/shells || \ | |
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 | ||
echo '#!/bin/sh' > /usr/bin/apropos | ||
chmod +x /usr/bin/apropos | ||
endef | ||
|
||
define Package/fish/postrm | ||
rm -rf "$${IPKG_INSTROOT}/$(CONFIGURE_PREFIX)/share/fish/$(PKG_VERSION)" | ||
rm -f /usr/bin/apropos | ||
endef | ||
|
||
$(eval $(call BuildPackage,fish)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Hi I'm a fish-shell developer. This is is a wrong change, likely from adapting patches against older versions of fish.
I assume you used to be dealing with
hostname
(1) not existing or not working right, and previously had to replace(hostname)
with(uname -n
). Fish 3.0 added a magic$hostname
variable so no external program is needed at all. It's faster and basically works everywhere. This file should just remain unpatched now AFAICT.