Update package scripts

This commit is contained in:
2026-04-03 18:57:00 +03:00
parent 1e4b12b1ca
commit 63b8021d2e
4 changed files with 27 additions and 11 deletions
+10
View File
@@ -0,0 +1,10 @@
#!/bin/sh
SHELLS="/bin/fish /usr/bin/fish"
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