/[escript]/trunk/debian/python-escript.postinst
ViewVC logotype

Annotation of /trunk/debian/python-escript.postinst

Parent Directory Parent Directory | Revision Log Revision Log


Revision 5601 - (hide annotations)
Mon May 4 03:25:18 2015 UTC (4 years ago) by jfenwick
File size: 418 byte(s)
Now with correct priorities for alternatives, paths to overlord binary, other fixes
1 jfenwick 5413 #!/bin/sh
2     set -e
3    
4     case "$1" in
5     configure)
6 jfenwick 5601 update-alternatives --install /usr/bin/run-escript run-escript /usr/bin/run-escript2 50
7 jfenwick 5413 ;;
8    
9     abort-upgrade|abort-remove|abort-deconfigure)
10 jfenwick 5601 update-alternatives --install /usr/bin/run-escript run-escript /usr/bin/run-escript2 50
11 jfenwick 5413 ;;
12    
13     *)
14     echo "postinst called with unknown argument \`$1'" >&2
15     exit 1
16     ;;
17     esac
18    
19     #DEBHELPER#
20    
21     exit 0

  ViewVC Help
Powered by ViewVC 1.1.26