debian/linux-image-7.0.12+deb14.1-sparc64-smp.postinst.sparc64
raw| 1 | #!/bin/sh -e |
| 2 | |
| 3 | version=7.0.12+deb14.1-sparc64-smp |
| 4 | image_path=/boot/vmlinux-$version |
| 5 | |
| 6 | if [ "$1" != configure ]; then |
| 7 | exit 0 |
| 8 | fi |
| 9 | |
| 10 | if [ -f /lib/modules/$version/.fresh-install ]; then |
| 11 | change=install |
| 12 | else |
| 13 | change=upgrade |
| 14 | fi |
| 15 | linux-update-symlinks $change $version $image_path |
| 16 | rm -f /lib/modules/$version/.fresh-install |
| 17 | |
| 18 | linux-run-hooks image postinst $version $image_path -- "$@" |
| 19 | |
| 20 | exit 0 |