Switch to new download format and update package scripts
This commit is contained in:
+8
-5
@@ -1,7 +1,10 @@
|
||||
#!/bin/bash
|
||||
#!/bin/sh
|
||||
|
||||
SHELL="/bin/zsh"
|
||||
SHELLS="/bin/zsh /usr/bin/zsh"
|
||||
|
||||
if grep "${SHELL}" "$BPM_ROOT"/etc/shells; then
|
||||
sed -i "\|${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