File: postrm

package info (click to toggle)
v86d 0.1.10-1
  • links: PTS
  • area: main
  • in suites: bullseye, buster, jessie, jessie-kfreebsd, stretch, wheezy
  • size: 952 kB
  • ctags: 1,293
  • sloc: ansic: 20,683; makefile: 142; sh: 142
file content (12 lines) | stat: -rw-r--r-- 216 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh -e

#DEBHELPER#

case "$1" in
  remove)
        if [ -x /usr/sbin/update-initramfs \
            -a -e /etc/initramfs-tools/initramfs.conf ]; then
                update-initramfs -u
        fi
    ;;
esac