File: python3-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 (13 lines) | stat: -rw-r--r-- 461 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh

set -e

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

#DEBHELPER#

exit 0