File: tiny-initramfs.postinst

package info (click to toggle)
tiny-initramfs 0.1-5
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, buster
  • size: 724 kB
  • ctags: 314
  • sloc: ansic: 3,631; sh: 1,522; makefile: 48
file content (26 lines) | stat: -rw-r--r-- 389 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#!/bin/sh
# postinst script for tiny-initramfs

set -e

case "$1" in
    configure)
        dpkg-trigger --no-await update-initramfs
    ;;

    triggered)
        DPKG_MAINTSCRIPT_PACKAGE='' update-tirfs
    ;;

    abort-upgrade|abort-remove|abort-deconfigure)
    ;;

    *)
        echo "postinst called with unknown argument \`$1'" >&2
        exit 1
    ;;
esac

#DEBHELPER#

exit 0