/[escript]/trunk/debian/python3-escript-mpi.postinst
ViewVC logotype

Contents of /trunk/debian/python3-escript-mpi.postinst

Parent Directory Parent Directory | Revision Log Revision Log


Revision 5601 - (show annotations)
Mon May 4 03:25:18 2015 UTC (3 years, 11 months ago) by jfenwick
File size: 426 byte(s)
Now with correct priorities for alternatives, paths to overlord binary, other fixes
1 #!/bin/sh
2 set -e
3
4 case "$1" in
5 configure)
6 update-alternatives --install /usr/bin/run-escript run-escript /usr/bin/run-escript3-mpi 20
7 ;;
8
9 abort-upgrade|abort-remove|abort-deconfigure)
10 update-alternatives --install /usr/bin/run-escript run-escript /usr/bin/run-escript3-mpi 20
11 ;;
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