File: postrm

package info (click to toggle)
v86d 0.1.10-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,024 kB
  • sloc: ansic: 20,683; sh: 128; makefile: 85
file content (14 lines) | stat: -rw-r--r-- 221 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh

set -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