File: python3-waitress.preinst

package info (click to toggle)
waitress 1.4.4-1.1%2Bdeb11u1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 1,308 kB
  • sloc: python: 10,645; makefile: 82; sh: 8
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#