Commit 842e258a authored by Sören Tempel's avatar Sören Tempel Committed by Francesco Colista

main/zsh: simplify install files

No version bump necessary.
parent d41d42a5
#!/bin/sh
grep -q '/bin/zsh' /etc/shells || echo '/bin/zsh' >> /etc/shells
add-shell '/bin/zsh'
exit 0
#!/bin/sh
grep -q '/bin/zsh' /etc/shells || echo '/bin/zsh' >> /etc/shells
exit 0
zsh.post-install
\ No newline at end of file
#!/bin/sh
sed -i '/^\/bin\/zsh/d' /etc/shells
remove-shell '/bin/zsh'
exit 0
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment