File: python3-schedutils.preinst

package info (click to toggle)
python-schedutils 0.6-2.1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, sid
  • size: 180 kB
  • sloc: ansic: 344; python: 235; makefile: 23; sh: 5
file content (9 lines) | stat: -rw-r--r-- 223 bytes parent folder | download
1
2
3
4
5
6
7
8
9
#!/bin/sh
set -e

if [ "$1" = "upgrade" ] && dpkg --compare-versions "$2" lt-nl "0.6-2.0" ; then
	update-alternatives --remove pchrt /usr/bin/pchrt3
	update-alternatives --remove ptaskset /usr/bin/ptaskset3
fi

#DEBHELPER#