File: spf-tools-python.postinst

package info (click to toggle)
pyspf 2.0.12t-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid, stretch
  • size: 664 kB
  • ctags: 324
  • sloc: python: 1,420; makefile: 36; sh: 18
file content (17 lines) | stat: -rw-r--r-- 348 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/sh

set -e
mode=$1

source_package=pyspf

case "$mode" in
  configure )
    prev_version=$2
    
    update-alternatives --install /usr/bin/spfquery spfquery      /usr/bin/spfquery.$source_package 75 \
      --slave /usr/share/man/man1/spfquery.1.gz spfquery.1.gz /usr/share/man/man1/spfquery.${source_package}.1.gz
    ;;
esac

#DEBHELPER#