HEX
Server: Apache
System: Linux vps37023 6.8.0-83-generic #83~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Tue Sep 9 18:19:47 UTC 2 x86_64
User: alternativsm (5771646)
PHP: 8.1.32
Disabled: NONE
Upload Files
File: //var/lib/dpkg/info/python3-sphinx.preinst
#!/bin/sh

set -e

if [ "$1" = upgrade ] && dpkg --compare-versions "$2" lt 2.4.3-3~
then
	for exe in /usr/share/sphinx/scripts/python3/*
	do
		update-alternatives --remove ${exe##*/} $exe
	done
fi