Compare commits

..
2 Commits
Author SHA1 Message Date
EnumDev 61e2bbc2ee Update package scripts 2026-04-03 18:52:46 +03:00
EnumDev 168235e1aa Update package version to 0.5.13.2 2026-03-29 20:40:55 +03:00
4 changed files with 27 additions and 11 deletions
+3 -3
View File
@@ -1,7 +1,7 @@
name: dash
description: POSIX-compliant implementation of /bin/sh that aims to be as small as possible
version: 0.5.13.1
revision: 1
version: 0.5.13.2
revision: 2
url: http://gondor.apana.org.au/~herbert/dash/
license: BSD-3-Clause
maintainers:
@@ -17,4 +17,4 @@ downloads:
- url: https://git.kernel.org/pub/scm/utils/dash/dash.git/snapshot/dash-${BPM_PKG_VERSION}.tar.gz
extract_to: ${BPM_SOURCE}
extract_strip_components: 1
checksum: 62a551ed06c31ad09933be0a20478832640d5cc3ce430d0fc7c52a1097129df1
checksum: ce88391bd79c71d9e182b005e69ebb11829e61ed6953276a086dad43701ac594
+6 -3
View File
@@ -1,7 +1,10 @@
#!/bin/sh
SHELL="/bin/dash"
SHELLS="/bin/dash /usr/bin/dash"
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
+6 -3
View File
@@ -1,7 +1,10 @@
#!/bin/sh
SHELL="/bin/dash"
SHELLS="/bin/dash /usr/bin/dash"
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
+10
View File
@@ -0,0 +1,10 @@
#!/bin/sh
SHELLS="/bin/dash /usr/bin/dash"
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