AlaK4X
Linux lhjmq-records 5.15.0-118-generic #128-Ubuntu SMP Fri Jul 5 09:28:59 UTC 2024 x86_64



Your IP : 3.146.107.152


Current Path : /var/lib/dpkg/info/
Upload File :
Current File : //var/lib/dpkg/info/tcl.preinst

#!/bin/sh

set -e

case "$1" in
    install|upgrade)
	# Currently the alternatives mechanism is not used
	if dpkg --compare-versions "$2" lt-nl "8.6.0+2"; then
	    update-alternatives --remove-all tclsh || true
	fi
	;;
    abort-upgrade)
	;;
    *)
	echo "preinst called with unknown argument \`$1'" >&2
	exit 1
	;;
esac