File: python3-waitress.preinst

package info (click to toggle)
waitress 2.1.2-2%2Bdeb12u1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 1,256 kB
  • sloc: python: 10,904; makefile: 81; sh: 25
file content (13 lines) | stat: -rw-r--r-- 201 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh

set -e

if [ "$1" = "upgrade" ]
then
    if update-alternatives --list waitress-serve >/dev/null 2>&1
    then
        update-alternatives --remove-all waitress-serve
    fi
fi

#DEBHELPER#