Debian Codegraph @

debian/linux-image-7.0.12+deb14.1-powerpc64le-64k.preinst.ppc64el

raw
1 #!/bin/sh -e
2
3 version=7.0.12+deb14.1-powerpc64le-64k
4 image_path=/boot/vmlinux-$version
5
6 if [ "$1" = abort-upgrade ]; then
7 exit 0
8 fi
9
10 if [ "$1" = install ]; then
11 # Create a flag file for postinst
12 mkdir -p /lib/modules/$version
13 touch /lib/modules/$version/.fresh-install
14 fi
15
16 linux-run-hooks image preinst $version $image_path -- "$@"
17
18 exit 0