Compare commits
6
Commits
79a7e918d6
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
79e83b6c8b
|
||
|
|
32b4d7d96c
|
||
|
|
91d4964ee5
|
||
|
|
25504b7ab7
|
||
|
|
63b8021d2e
|
||
|
|
1e4b12b1ca
|
+2
-2
@@ -1,6 +1,6 @@
|
||||
name: fish
|
||||
description: A smart and user-friendly command line shell
|
||||
version: 4.5.0
|
||||
version: 4.8.1
|
||||
revision: 1
|
||||
url: https://fishshell.com/
|
||||
license: GPL2,PSF2,MIT,LGPL2
|
||||
@@ -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: 0eb86a851e865e934a7c2091a73d7695225e78f0e00a7bb96d5f877d76c65782
|
||||
+7
-4
@@ -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
|
||||
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
|
||||
|
||||
+7
-4
@@ -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
|
||||
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
|
||||
@@ -1,4 +1,4 @@
|
||||
# This is the source.sh script. It is executed by BPM in a temporary directory when compiling a source package
|
||||
# This is the recipe.sh script. It is executed by BPM in a temporary directory when compiling a source package
|
||||
# BPM Expects the source code to be extracted into the automatically created 'source' directory which can be accessed using $BPM_SOURCE
|
||||
# BPM Expects the output files to be present in the automatically created 'output' directory which can be accessed using $BPM_OUTPUT
|
||||
|
||||
Reference in New Issue
Block a user