File: python-oslotest.postinst

package info (click to toggle)
python-oslotest 1%3A2.3.0-1~bpo8%2B1
  • links: PTS, VCS
  • area: main
  • in suites: jessie-backports
  • size: 312 kB
  • sloc: python: 787; sh: 123; makefile: 48
file content (14 lines) | stat: -rw-r--r-- 463 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh

set -e

if [ "$1" = "configure" ] ; then
	update-alternatives --install /usr/bin/oslo_debug_helper		oslo_debug_helper		/usr/bin/python2-oslo_debug_helper 300
	update-alternatives --install /usr/bin/oslo_run_pre_release_tests	oslo_run_pre_release_tests	/usr/bin/python2-oslo_run_pre_release_tests 300
	update-alternatives --install /usr/bin/oslo_run_cross_tests 		oslo_run_cross_tests		/usr/bin/python2-oslo_run_cross_tests 300
fi

#DEBHELPER#

exit 0