File: python-spyder.preinst

package info (click to toggle)
spyder 3.3.3%2Bdfsg1-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 9,964 kB
  • sloc: python: 47,716; sh: 136; cpp: 67; xml: 34; makefile: 24; ansic: 19; java: 5
file content (11 lines) | stat: -rw-r--r-- 225 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh

set -e

if [ "$1" = "upgrade" ] && dpkg --compare-versions "$2" lt-nl 2.1.0-1; then
    if [ -L /usr/share/doc/python-spyderlib/html ]; then
        rm -f /usr/share/doc/python-spyderlib/html
    fi
fi

#DEBHELPER#