Compare commits
2
Commits
79a7e918d6
...
63b8021d2e
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
63b8021d2e
|
||
|
|
1e4b12b1ca
|
@@ -1,7 +1,7 @@
|
||||
name: fish
|
||||
description: A smart and user-friendly command line shell
|
||||
version: 4.5.0
|
||||
revision: 1
|
||||
version: 4.6.0
|
||||
revision: 2
|
||||
url: https://fishshell.com/
|
||||
license: GPL2,PSF2,MIT,LGPL2
|
||||
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
|
||||
extract_to: ${BPM_SOURCE}
|
||||
extract_strip_components: 1
|
||||
checksum: 89151f8cf14b634e080226fe696f9ce7d4d153c77629996ca4431c80482c64ed
|
||||
checksum: fc9165f733a0e28a3dba11c9b1a286bc88a853f152a6694cd993512a2f1761aa
|
||||
|
||||
+8
-5
@@ -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
|
||||
echo "${SHELL}" | tee -a "$BPM_ROOT"/etc/shells
|
||||
fi
|
||||
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
|
||||
|
||||
+8
-5
@@ -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
|
||||
sed -i "\|${SHELL}|d" "$BPM_ROOT"/etc/shells
|
||||
fi
|
||||
for _shell in $SHELLS; do
|
||||
if grep -q "^${_shell}\$" /etc/shells; then
|
||||
echo "Removing '$_shell' from /etc/shells..."
|
||||
sed -i "\|^${_shell}\$|d" /etc/shells
|
||||
fi
|
||||
done
|
||||
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user