| 1 |
#!/bin/sh |
| 2 |
|
| 3 |
set -e |
| 4 |
|
| 5 |
case "${1}" in |
| 6 |
install|upgrade) |
| 7 |
# removing old files (<= 20260508-1) |
| 8 |
rm -f /etc/modprobe.d/mitigation_copy-fail.conf |
| 9 |
rm -f /etc/modprobe.d/mitigation_dirty-frag.conf |
| 10 |
|
| 11 |
# removing old files (<= 20260515.1-1) |
| 12 |
rm -f /etc/sysctl.d/ssh-keysign-pwn.conf |
| 13 |
|
| 14 |
# removing old files (<= 20260519.1-1) |
| 15 |
rm -f /etc/modprobe.d/mitigation_pintheft.conf |
| 16 |
;; |
| 17 |
|
| 18 |
abort-upgrade) |
| 19 |
|
| 20 |
;; |
| 21 |
|
| 22 |
*) |
| 23 |
echo "preinst called with unknown argument \`${1}'" >&2 |
| 24 |
exit 1 |
| 25 |
;; |
| 26 |
esac |
| 27 |
|
| 28 |
#DEBHELPER# |
| 29 |
|
| 30 |
exit 0 |