File: python3-scrapy.preinst

package info (click to toggle)
python-scrapy 2.12.0-2
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 5,832 kB
  • sloc: python: 50,526; xml: 199; makefile: 86; sh: 7
file content (8 lines) | stat: -rw-r--r-- 149 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
#! /bin/sh
set -e

if [ "$1" = "upgrade" ] && dpkg --compare-versions $2 "<<" 1.7.3 ; then
  update-alternatives --remove-all scrapy
fi

#DEBHELPER#