ubuntu-22.04.3-desktop-amd64/casper/filesystem/var/lib/dpkg/info/libnewt0.52:amd64.postinst

24 lines
555 B
Bash
Executable File
Raw Blame History

This file contains invisible Unicode characters!

This file contains invisible Unicode characters that may be processed differently from what appears below. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to reveal hidden characters.

#!/bin/sh
set -e
case "$1" in
configure|abort-remove|abort-deconfigure)
# Install alternatives
# update-alternatives --install /etc/newt/palette newt-palette /etc/newt/palette.original 20
update-alternatives --install /etc/newt/palette newt-palette /etc/newt/palette.ubuntu 50
update-alternatives --install /etc/newt/palette newt-palette /etc/newt/palette.original 20
;;
abort-upgrade)
# Nothing to undo
:;
;;
*)
echo "$0: Undocumented call: \"$@\"" >&2
exit 1
;;
esac