File: archmage.preinst

package info (click to toggle)
archmage 1%3A0.2.4-2
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 400 kB
  • ctags: 128
  • sloc: python: 750; sh: 7; makefile: 4
file content (11 lines) | stat: -rw-r--r-- 222 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh
# TODO: remove this file after releasing Squeeze
set -e
if [ "$1" = upgrade ]
then
        if dpkg --compare-versions "$2" lt 1:0.2-1; then
                pycentral pkgremove archmage
        fi
fi

#DEBHELPER#