File: python3-waitress.preinst

package info (click to toggle)
waitress 3.0.2-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 988 kB
  • sloc: python: 10,771; makefile: 84; 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#