Update package version to 0.114.1
This commit is contained in:
+8
-6
@@ -1,8 +1,10 @@
|
||||
#!/bin/bash
|
||||
#!/bin/sh
|
||||
|
||||
SHELL="nu"
|
||||
SHELLS="/bin/nu /usr/bin/nu"
|
||||
|
||||
if grep "${SHELL}" "$BPM_ROOT"/etc/shells; then
|
||||
sed -i "\|/bin/${SHELL}|d" "$BPM_ROOT"/etc/shells
|
||||
sed -i "\|/usr/bin/${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
|
||||
|
||||
Reference in New Issue
Block a user