ACCC1380 commited on
Commit
b78f6ae
1 Parent(s): 0d6a2a4

Upload var/lib/dpkg/info/e2fsprogs.postinst with huggingface_hub

Browse files
var/lib/dpkg/info/e2fsprogs.postinst ADDED
@@ -0,0 +1,60 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/bin/sh
2
+
3
+ # Abort on error.
4
+ set -e
5
+
6
+ if [ -x /usr/sbin/update-initramfs -a \
7
+ -e /etc/initramfs-tools/initramfs.conf ]; then
8
+ update-initramfs -u
9
+ fi
10
+
11
+ # Automatically added by dh_installsystemd/12.10ubuntu1
12
+ if [ "$1" = "configure" ] || [ "$1" = "abort-upgrade" ] || [ "$1" = "abort-deconfigure" ] || [ "$1" = "abort-remove" ] ; then
13
+ # This will only remove masks created by d-s-h on package removal.
14
+ deb-systemd-helper unmask 'e2scrub_all.timer' >/dev/null || true
15
+
16
+ # was-enabled defaults to true, so new installations run enable.
17
+ if deb-systemd-helper --quiet was-enabled 'e2scrub_all.timer'; then
18
+ # Enables the unit on first installation, creates new
19
+ # symlinks on upgrades if the unit file has changed.
20
+ deb-systemd-helper enable 'e2scrub_all.timer' >/dev/null || true
21
+ else
22
+ # Update the statefile to add new symlinks (if any), which need to be
23
+ # cleaned up on purge. Also remove old symlinks.
24
+ deb-systemd-helper update-state 'e2scrub_all.timer' >/dev/null || true
25
+ fi
26
+ fi
27
+ # End automatically added section
28
+ # Automatically added by dh_installsystemd/12.10ubuntu1
29
+ if [ "$1" = "configure" ] || [ "$1" = "abort-upgrade" ] || [ "$1" = "abort-deconfigure" ] || [ "$1" = "abort-remove" ] ; then
30
+ # This will only remove masks created by d-s-h on package removal.
31
+ deb-systemd-helper unmask 'e2scrub_reap.service' >/dev/null || true
32
+
33
+ # was-enabled defaults to true, so new installations run enable.
34
+ if deb-systemd-helper --quiet was-enabled 'e2scrub_reap.service'; then
35
+ # Enables the unit on first installation, creates new
36
+ # symlinks on upgrades if the unit file has changed.
37
+ deb-systemd-helper enable 'e2scrub_reap.service' >/dev/null || true
38
+ else
39
+ # Update the statefile to add new symlinks (if any), which need to be
40
+ # cleaned up on purge. Also remove old symlinks.
41
+ deb-systemd-helper update-state 'e2scrub_reap.service' >/dev/null || true
42
+ fi
43
+ fi
44
+ # End automatically added section
45
+ # Automatically added by dh_installsystemd/12.10ubuntu1
46
+ if [ "$1" = "configure" ] || [ "$1" = "abort-upgrade" ] || [ "$1" = "abort-deconfigure" ] || [ "$1" = "abort-remove" ] ; then
47
+ if [ -d /run/systemd/system ]; then
48
+ systemctl --system daemon-reload >/dev/null || true
49
+ if [ -n "$2" ]; then
50
+ _dh_action=restart
51
+ else
52
+ _dh_action=start
53
+ fi
54
+ deb-systemd-invoke $_dh_action 'e2scrub_all.service' 'e2scrub_all.timer' 'e2scrub_reap.service' >/dev/null || true
55
+ fi
56
+ fi
57
+ # End automatically added section
58
+
59
+
60
+ exit 0