Documentation changes included.
[archnosh.git] / maintenance-scripts.patch
blobe543bc5d6b53403eeb780e4f54f1ff3a8e79253e
1 diff -aur package/debian/nosh-run-system-manager.postinst package.patched/debian/nosh-run-system-manager.postinst
2 --- package/debian/nosh-run-system-manager.postinst 2015-08-16 15:50:04.000000000 +0200
3 +++ package.patched/debian/nosh-run-system-manager.postinst 2017-03-21 15:28:20.927957569 +0100
4 @@ -1,6 +1,4 @@
5 #!/bin/sh -
6 -case "$1" in
7 - configure)
8 if test -z "$2" # No prior version installed/left configured.
9 then
10 for i in - -usr -var -home
11 @@ -10,5 +8,3 @@
12 done
14 ( cd /etc/system-control/convert && redo all )
15 - ;;
16 -esac
17 diff -aur package/debian/nosh-run-via-systemd.postrm package.patched/debian/nosh-run-via-systemd.postrm
18 --- package/debian/nosh-run-via-systemd.postrm 2017-03-15 20:46:23.000000000 +0100
19 +++ package.patched/debian/nosh-run-via-systemd.postrm 2017-03-21 15:28:41.947853244 +0100
20 @@ -1,7 +1,4 @@
21 #!/bin/sh -
22 -case "$1" in
23 - # post-deinstall for nosh-run-via-systemd
24 - remove|purge)
25 # Re-apply presets to services that were cut-out by a special preset in this package.
26 system-control preset sysinit.target dbus.socket local-syslog.target
27 system-control preset static-networking.target
28 @@ -10,5 +7,3 @@
29 system-control preset busybox-mdev.socket busybox-mdev-log.service busybox-mdev-rescan.service
30 system-control preset suckless-mdev.socket suckless-mdev-log.service suckless-mdev-rescan.service
31 system-control preset vdev.socket vdev-log.service
32 - ;;
33 -esac