zsh: fix invalid postrm script and little refactor of scripts
authorKarel Kočí <redacted>
Wed, 18 Dec 2019 08:57:23 +0000 (09:57 +0100)
committerKarel Kočí <redacted>
Wed, 18 Dec 2019 09:04:41 +0000 (10:04 +0100)
commitd2d193d81885cd2351e3bd53f6f4cc8ec092e26d
treea607376895c563a6481e262870f44fc8dd2c9f92
parentb1634c1737bb016f602a13802faba08570b9cb70
zsh: fix invalid postrm script and little refactor of scripts

The postrm script was missing shebang. Postrm scripts are packaged and
executed directly and not sourced by default script (as in case of prerm
and postinst).

Also move some indents around to not confuse reader. The section in
postinst was indented to same level as grep "condition" but is on same
level as initial grep (not part of that "condition").

Signed-off-by: Karel Kočí <redacted>
utils/zsh/Makefile
git clone https://git.99rst.org/PROJECT