Updated checksum for latest 1.34 and fixed removed script leftovers
[archnosh.git] / maintenance-scripts.patch
blobb8c64c5e05f67d2c1710a3bd568ac72481eafbcb
1 diff --git a/package/debian/nosh-run-system-manager.postinst b/package/debian/nosh-run-system-manager.postinst
2 index 4176377..e6d1a65 100755
3 --- a/package/debian/nosh-run-system-manager.postinst
4 +++ b/package/debian/nosh-run-system-manager.postinst
5 @@ -1,14 +1,6 @@
6 -#!/bin/sh -
7 -case "$1" in
8 - configure)
9 - if test -z "$2" # No prior version installed/left configured.
10 - then
11 for i in - -usr -var -home
13 /bin/rm -f -r /etc/service-bundles/services/fsck@$i/
14 /bin/rm -f -r /etc/service-bundles/services/mount@$i/
15 done
16 - fi
17 ( cd /etc/system-control/convert && redo all )
18 - ;;
19 -esac
20 diff --git a/package/debian/nosh-run-via-systemd.postrm b/package/debian/nosh-run-via-systemd.postrm
21 index 433f762..71a75b2 100755
22 --- a/package/debian/nosh-run-via-systemd.postrm
23 +++ b/package/debian/nosh-run-via-systemd.postrm
24 @@ -1,7 +1,3 @@
25 -#!/bin/sh -
26 -case "$1" in
27 - # post-deinstall for nosh-run-via-systemd
28 - remove|purge)
29 # Re-apply presets to services that were cut-out by a special preset in this package.
30 system-control preset sysinit.target dbus.socket local-syslog.target
31 system-control preset static-networking.target
32 @@ -10,5 +6,3 @@ case "$1" in
33 system-control preset busybox-mdev.socket busybox-mdev-log.service busybox-mdev-rescan.service
34 system-control preset suckless-mdev.socket suckless-mdev-log.service suckless-mdev-rescan.service
35 system-control preset vdev.socket vdev-log.service
36 - ;;
37 -esac