Upload var/lib/dpkg/info/util-linux.postrm with huggingface_hub
Browse files
var/lib/dpkg/info/util-linux.postrm
ADDED
@@ -0,0 +1,57 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
#!/bin/sh
|
2 |
+
set -e
|
3 |
+
|
4 |
+
case "$1" in
|
5 |
+
remove)
|
6 |
+
;;
|
7 |
+
|
8 |
+
purge)
|
9 |
+
rm -f /etc/adjtime
|
10 |
+
;;
|
11 |
+
|
12 |
+
*)
|
13 |
+
;;
|
14 |
+
esac
|
15 |
+
|
16 |
+
# Automatically added by dh_installdeb/12.10ubuntu1
|
17 |
+
dpkg-maintscript-helper rm_conffile /etc/cron.weekly/fstrim 2.31.1-0.4ubuntu1\~ -- "$@"
|
18 |
+
# End automatically added section
|
19 |
+
# Automatically added by dh_installsystemd/12.10ubuntu1
|
20 |
+
if [ -d /run/systemd/system ]; then
|
21 |
+
systemctl --system daemon-reload >/dev/null || true
|
22 |
+
fi
|
23 |
+
# End automatically added section
|
24 |
+
# Automatically added by dh_installsystemd/12.10ubuntu1
|
25 |
+
if [ "$1" = "remove" ]; then
|
26 |
+
if [ -x "/usr/bin/deb-systemd-helper" ]; then
|
27 |
+
deb-systemd-helper mask 'fstrim.timer' >/dev/null || true
|
28 |
+
fi
|
29 |
+
fi
|
30 |
+
|
31 |
+
if [ "$1" = "purge" ]; then
|
32 |
+
if [ -x "/usr/bin/deb-systemd-helper" ]; then
|
33 |
+
deb-systemd-helper purge 'fstrim.timer' >/dev/null || true
|
34 |
+
deb-systemd-helper unmask 'fstrim.timer' >/dev/null || true
|
35 |
+
fi
|
36 |
+
fi
|
37 |
+
# End automatically added section
|
38 |
+
# Automatically added by dh_installsystemd/12.10ubuntu1
|
39 |
+
if [ -d /run/systemd/system ]; then
|
40 |
+
systemctl --system daemon-reload >/dev/null || true
|
41 |
+
fi
|
42 |
+
# End automatically added section
|
43 |
+
# Automatically added by dh_installsystemd/12.10ubuntu1
|
44 |
+
if [ "$1" = "remove" ]; then
|
45 |
+
if [ -x "/usr/bin/deb-systemd-helper" ]; then
|
46 |
+
deb-systemd-helper mask 'fstrim.timer' >/dev/null || true
|
47 |
+
fi
|
48 |
+
fi
|
49 |
+
|
50 |
+
if [ "$1" = "purge" ]; then
|
51 |
+
if [ -x "/usr/bin/deb-systemd-helper" ]; then
|
52 |
+
deb-systemd-helper purge 'fstrim.timer' >/dev/null || true
|
53 |
+
deb-systemd-helper unmask 'fstrim.timer' >/dev/null || true
|
54 |
+
fi
|
55 |
+
fi
|
56 |
+
# End automatically added section
|
57 |
+
|