File: preinst

package info (click to toggle)
pyexiv2 0.3.2-9
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 1,500 kB
  • sloc: python: 3,966; cpp: 1,300; sh: 46; makefile: 30
file content (11 lines) | stat: -rwxr-xr-x 190 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh
set -e

# Switch from pycentral to pysupport
if [ "$1" = upgrade ] && dpkg --compare-versions "$2" lt 0.1.3-1 ; then
    pycentral pkgremove python-pyexiv2
fi

#DEBHELPER#

exit 0