diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-15 17:25:44 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-15 17:25:44 +0000 |
commit | e20628db512128d3a5c66360943462b83da5f049 (patch) | |
tree | d0c586bb2b3ce26a240c5fb0765982ce87d53816 /debian/python3-sphinx.preinst | |
parent | Adding upstream version 7.2.6. (diff) | |
download | sphinx-e20628db512128d3a5c66360943462b83da5f049.tar.xz sphinx-e20628db512128d3a5c66360943462b83da5f049.zip |
Adding debian version 7.2.6-6.debian/7.2.6-6
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/python3-sphinx.preinst')
-rw-r--r-- | debian/python3-sphinx.preinst | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/debian/python3-sphinx.preinst b/debian/python3-sphinx.preinst new file mode 100644 index 0000000..b4b7bd6 --- /dev/null +++ b/debian/python3-sphinx.preinst @@ -0,0 +1,13 @@ +#!/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 + +#DEBHELPER# |