Compare commits
6
Commits
8e8ec358bf
..
master
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
1aa96fbbd4
|
||
|
|
eb1b09141a
|
||
|
|
df83ff5184
|
||
|
|
80cf1938a8
|
||
|
|
61e2bbc2ee
|
||
|
|
168235e1aa
|
+2
-2
@@ -1,6 +1,6 @@
|
||||
name: dash
|
||||
description: POSIX-compliant implementation of /bin/sh that aims to be as small as possible
|
||||
version: 0.5.13.1
|
||||
version: 0.5.13.5
|
||||
revision: 1
|
||||
url: http://gondor.apana.org.au/~herbert/dash/
|
||||
license: BSD-3-Clause
|
||||
@@ -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: 53622e51df0fd7a2950552cfe0da0bee9bfc1510784e752b62eacc49b3776d33
|
||||
+6
-3
@@ -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
@@ -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
|
||||
|
||||
@@ -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
|
||||
@@ -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