File: python3-lesscpy.preinst

package info (click to toggle)
python-lesscpy 0.15.1-0.2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,488 kB
  • sloc: python: 3,591; sh: 5; makefile: 4
file content (11 lines) | stat: -rwxr-xr-x 184 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh

set -e

if [ "$1" = "upgrade" ] && dpkg --compare-versions "$2" lt 0.13.0+ds-2 ; then
	update-alternatives --remove lesscpy /usr/bin/python3-lesscpy
fi

#DEBHELPER#

exit 0