Update package version to 0.114.1
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
name: nushell
|
name: nushell
|
||||||
description: A new type of shell
|
description: A new type of shell
|
||||||
version: 0.113.1
|
version: 0.114.1
|
||||||
revision: 2
|
revision: 1
|
||||||
url: https://www.nushell.sh/
|
url: https://www.nushell.sh/
|
||||||
license: MIT
|
license: MIT
|
||||||
maintainers:
|
maintainers:
|
||||||
@@ -20,4 +20,4 @@ downloads:
|
|||||||
- url: https://github.com/nushell/nushell/archive/refs/tags/${BPM_PKG_VERSION}.tar.gz
|
- url: https://github.com/nushell/nushell/archive/refs/tags/${BPM_PKG_VERSION}.tar.gz
|
||||||
extract_to: ${BPM_SOURCE}
|
extract_to: ${BPM_SOURCE}
|
||||||
extract_strip_components: 1
|
extract_strip_components: 1
|
||||||
checksum: d2b514b9ec7c1cc5930025528987d730cadcaa0f063227691c837516093328fd
|
checksum: 48ef2fb6bb3ec2b1dcff87a792aeebdfab10b29f3119a62291075b17e4ad25d5
|
||||||
|
|||||||
+7
-5
@@ -1,8 +1,10 @@
|
|||||||
#!/bin/bash
|
#!/bin/sh
|
||||||
|
|
||||||
SHELL="nu"
|
SHELLS="/bin/nu /usr/bin/nu"
|
||||||
|
|
||||||
if ! grep "${SHELL}" "$BPM_ROOT"/etc/shells; then
|
for _shell in $SHELLS; do
|
||||||
echo "/bin/${SHELL}" | tee -a "$BPM_ROOT"/etc/shells
|
if ! grep -q "^${_shell}\$" /etc/shells; then
|
||||||
echo "/usr/bin/${SHELL}" | tee -a "$BPM_ROOT"/etc/shells
|
echo "Adding '$_shell' to /etc/shells..."
|
||||||
|
echo "$_shell" | tee -a /etc/shells 1>/dev/null
|
||||||
fi
|
fi
|
||||||
|
done
|
||||||
|
|||||||
+7
-5
@@ -1,8 +1,10 @@
|
|||||||
#!/bin/bash
|
#!/bin/sh
|
||||||
|
|
||||||
SHELL="nu"
|
SHELLS="/bin/nu /usr/bin/nu"
|
||||||
|
|
||||||
if grep "${SHELL}" "$BPM_ROOT"/etc/shells; then
|
for _shell in $SHELLS; do
|
||||||
sed -i "\|/bin/${SHELL}|d" "$BPM_ROOT"/etc/shells
|
if grep -q "^${_shell}\$" /etc/shells; then
|
||||||
sed -i "\|/usr/bin/${SHELL}|d" "$BPM_ROOT"/etc/shells
|
echo "Removing '$_shell' from /etc/shells..."
|
||||||
|
sed -i "\|^${_shell}\$|d" /etc/shells
|
||||||
fi
|
fi
|
||||||
|
done
|
||||||
|
|||||||
@@ -0,0 +1,10 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
SHELLS="/bin/nu /usr/bin/nu"
|
||||||
|
|
||||||
|
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
|
||||||
@@ -6,8 +6,12 @@
|
|||||||
# This function is used for putting downloaded files to the correct location or applying patches
|
# This function is used for putting downloaded files to the correct location or applying patches
|
||||||
prepare() {
|
prepare() {
|
||||||
cd "$BPM_SOURCE"
|
cd "$BPM_SOURCE"
|
||||||
|
|
||||||
|
# https://github.com/nushell/nushell/issues/18578
|
||||||
|
cargo update -v --precise 1.5.3 ethnum
|
||||||
|
|
||||||
# Fetch cargo dependencies
|
# Fetch cargo dependencies
|
||||||
cargo fetch --locked --target "$(rustc -vV | sed -n 's/host: //p')"
|
cargo fetch --locked --target host-tuple
|
||||||
}
|
}
|
||||||
|
|
||||||
# The build function is executed in the source directory
|
# The build function is executed in the source directory
|
||||||
|
|||||||
Reference in New Issue
Block a user