1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
post_install() { echo "Autoinstall start..." echo "Change shell..." chsh -s zsh echo "Create zsh-komander..." mv "/usr/share/zsh-komander/zsh-komander.zsh" "$HOME/.zshrc" } post_update() { post_install } post_remove() { echo "Komander is removed..." }