Switch to new download format and update package scripts

This commit is contained in:
2026-04-03 20:04:53 +03:00
parent a73994431d
commit 0f4e89c26b
6 changed files with 107 additions and 28 deletions
+8 -5
View File
@@ -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
echo "${SHELL}" | tee -a "$BPM_ROOT"/etc/shells
fi
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