Compare commits

..
2 Commits
Author SHA1 Message Date
EnumDev 63b8021d2e Update package scripts 2026-04-03 18:57:00 +03:00
EnumDev 1e4b12b1ca Update package version to 4.6.0 2026-04-03 18:14:11 +03:00
4 changed files with 29 additions and 13 deletions
+3 -3
View File
@@ -1,7 +1,7 @@
name: fish name: fish
description: A smart and user-friendly command line shell description: A smart and user-friendly command line shell
version: 4.5.0 version: 4.6.0
revision: 1 revision: 2
url: https://fishshell.com/ url: https://fishshell.com/
license: GPL2,PSF2,MIT,LGPL2 license: GPL2,PSF2,MIT,LGPL2
maintainers: maintainers:
@@ -25,4 +25,4 @@ downloads:
- url: https://github.com/fish-shell/fish-shell/releases/download/${BPM_PKG_VERSION}/fish-${BPM_PKG_VERSION}.tar.xz - url: https://github.com/fish-shell/fish-shell/releases/download/${BPM_PKG_VERSION}/fish-${BPM_PKG_VERSION}.tar.xz
extract_to: ${BPM_SOURCE} extract_to: ${BPM_SOURCE}
extract_strip_components: 1 extract_strip_components: 1
checksum: 89151f8cf14b634e080226fe696f9ce7d4d153c77629996ca4431c80482c64ed checksum: fc9165f733a0e28a3dba11c9b1a286bc88a853f152a6694cd993512a2f1761aa
+8 -5
View File
@@ -1,7 +1,10 @@
#!/bin/bash #!/bin/sh
SHELL="/bin/fish" SHELLS="/bin/fish /usr/bin/fish"
if ! grep "${SHELL}" "$BPM_ROOT"/etc/shells; then for _shell in $SHELLS; do
echo "${SHELL}" | tee -a "$BPM_ROOT"/etc/shells if ! grep -q "^${_shell}\$" /etc/shells; then
fi echo "Adding '$_shell' to /etc/shells..."
echo "$_shell" | tee -a /etc/shells 1>/dev/null
fi
done
+8 -5
View File
@@ -1,7 +1,10 @@
#!/bin/bash #!/bin/sh
SHELL="/bin/fish" SHELLS="/bin/fish /usr/bin/fish"
if grep "${SHELL}" "$BPM_ROOT"/etc/shells; then for _shell in $SHELLS; do
sed -i "\|${SHELL}|d" "$BPM_ROOT"/etc/shells if grep -q "^${_shell}\$" /etc/shells; then
fi echo "Removing '$_shell' from /etc/shells..."
sed -i "\|^${_shell}\$|d" /etc/shells
fi
done
+10
View File
@@ -0,0 +1,10 @@
#!/bin/sh
SHELLS="/bin/fish /usr/bin/fish"
for _shell in $SHELLS; do
if ! grep -q "^${_shell}\$" /etc/shells; then
echo "Adding '$_shell' to /etc/shells..."
echo "$_shell" | tee -a /etc/shells 1>/dev/null
fi
done