0xV3NOMx
Linux ip-172-26-7-228 5.4.0-1103-aws #111~18.04.1-Ubuntu SMP Tue May 23 20:04:10 UTC 2023 x86_64



Your IP : 3.141.201.46


Current Path : /proc/thread-self/root/var/lib/dpkg/info/
Upload File :
Current File : //proc/thread-self/root/var/lib/dpkg/info/kbd.postinst

#!/bin/sh

set -e

case "$1" in
    configure)
        # see #261801
        for file in dumpkeys loadkeys; do
            if [ ! -e /usr/bin/$file ]; then
                ln -s /bin/$file /usr/bin/$file
            fi
        done
        ;;
esac

# see kbd.preinst for why this is conditional.
if [ ! -e /etc/kbd/config ] && [ ! -e /etc/kbd/remap ]; then
    dpkg-maintscript-helper rm_conffile \
            /etc/kbd/config 2.0.3-2~ kbd -- "$@"
    dpkg-maintscript-helper rm_conffile \
            /etc/kbd/remap 2.0.3-2~ kbd -- "$@"
    dpkg-maintscript-helper rm_conffile \
            /etc/init.d/kbd 2.0.3-2~ kbd -- "$@"
    rmdir /etc/kbd 2>/dev/null || true
    update-rc.d -f kbd remove
fi

# Automatically added by dh_installdeb/11.1.2ubuntu1
dpkg-maintscript-helper rm_conffile /etc/init.d/console-screen.kbd.sh -- "$@"
dpkg-maintscript-helper rm_conffile /etc/init.d/kbd -- "$@"
# End automatically added section


# vim:sw=4:sts=4:et: