]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/blame - debian/postinst
Merge tag 'xfsprogs-fixes-6.6_2024-01-11' of https://git.kernel.org/pub/scm/linux...
[thirdparty/xfsprogs-dev.git] / debian / postinst
CommitLineData
c8b04a65
SM
1#!/bin/sh
2
3set -e
4
5case "${1}" in
6 configure)
7 if [ -x /usr/sbin/update-initramfs ] && [ -e /etc/initramfs-tools/initramfs.conf ]
8 then
9 update-initramfs -u
10 fi
824b5807 11 if [ -x /bin/systemctl ]; then
37c528ca 12 /bin/systemctl daemon-reload 2>&1 || true
824b5807 13 fi
c8b04a65
SM
14 ;;
15
16 abort-upgrade|abort-remove|abort-deconfigure)
17
18 ;;
19
20 *)
21 echo "postinst called with unknown argument \`${1}'" >&2
22 exit 1
23 ;;
24esac
25
26#DEBHELPER#
27
28exit 0