Updated checksum for latest 1.34 and fixed removed script leftovers
[archnosh.git] / maintenance.sh
blobc6e38a7b9f0892c899b63dd348b6e408c220a750
1 #!/bin/sh -e
2 # rename files in package/debian/ to work with the scriptlet builder
3 # i.e. Archlinux nomenclature for .install
5 # functions to apply for service bundles in *.p files
6 mv -v preinst.funcs pre_upgrade.funcs
7 mv -v postinst.funcs post_install.funcs
8 mv -v prerm.funcs pre_remove.funcs
9 mv -v postrm.funcs post_upgrade.funcs
11 # specific maintenance
12 mv -v nosh-bundles.postinst.extra nosh-bundles.post_install.extra
13 mv -v nosh-bundles.postrm.extra nosh-bundles.post_upgrade.extra
14 mv -v nosh-bundles.preinst.extra nosh-bundles.pre_upgrade.extra
15 mv -v nosh-bundles.prerm.extra nosh-bundles.pre_remove.extra
17 # runs external format import conversions on install and upgrades
18 mv -v nosh-run-system-manager.postinst nosh-run-system-manager.post_install
19 cp -v nosh-run-system-manager.post_install nosh-run-system-manager.post_upgrade
21 mv -v nosh-run-via-systemd.postinst.extra nosh-run-via-systemd.post_install
22 mv -v nosh-run-via-systemd.prerm.extra nosh-run-via-systemd.pre_remove
23 # was removed
24 # mv -v nosh-run-via-systemd.postrm.extra nosh-run-via-systemd.post_upgrade
25 mv -v nosh-run-via-systemd.postrm nosh-run-via-systemd.post_remove