Added availability information
[archnosh.git] / maintenance.sh
blob4748bb55cfb7814fa5cdf16dbd4a05936fef863e
1 #!/bin/sh -e
3 # functions to apply for service bundles in *.p files
4 mv -v preinst.funcs pre_upgrade.funcs
5 mv -v postinst.funcs post_install.funcs
6 mv -v prerm.funcs pre_remove.funcs
7 mv -v postrm.funcs post_upgrade.funcs
9 # specific maintenance
10 mv -v nosh-bundles.postinst.extra nosh-bundles.post_install.extra
11 mv -v nosh-bundles.postrm.extra nosh-bundles.post_upgrade.extra
12 mv -v nosh-bundles.preinst.extra nosh-bundles.pre_upgrade.extra
13 mv -v nosh-bundles.prerm.extra nosh-bundles.pre_remove.extra
15 mv -v nosh-run-system-manager.postinst nosh-run-system-manager.post_upgrade
17 mv -v nosh-run-via-systemd.postinst.extra nosh-run-via-systemd.post_install
18 mv -v nosh-run-via-systemd.prerm.extra nosh-run-via-systemd.pre_remove
19 # was removed
20 # mv -v nosh-run-via-systemd.postrm.extra nosh-run-via-systemd.post_upgrade
21 mv -v nosh-run-via-systemd.postrm nosh-run-via-systemd.post_remove