File: python-tempest.postinst

package info (click to toggle)
tempest 1%3A12.2.0-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 5,672 kB
  • ctags: 8,165
  • sloc: python: 57,029; sh: 408; makefile: 74
file content (18 lines) | stat: -rw-r--r-- 978 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/sh

set -e

if [ "$1" = "configure" ] ; then
	update-alternatives --install /usr/bin/check-uuid check-uuid /usr/bin/python2-check-uuid 300
	update-alternatives --install /usr/bin/run-tempest-stress run-tempest-stress /usr/bin/python2-run-tempest-stress 300
	update-alternatives --install /usr/bin/skip-tracker skip-tracker /usr/bin/python2-skip-tracker 300
	update-alternatives --install /usr/bin/tempest tempest /usr/bin/python2-tempest 300
	update-alternatives --install /usr/bin/tempest-account-generator tempest-account-generator /usr/bin/python2-tempest-account-generator 300
	update-alternatives --install /usr/bin/tempest-cleanup tempest-cleanup /usr/bin/python2-tempest-cleanup 300
	update-alternatives --install /usr/bin/verify-tempest-config verify-tempest-config /usr/bin/python2-verify-tempest-config 300
	update-alternatives --install /usr/bin/subunit-describe-calls subunit-describe-calls /usr/bin/python2-subunit-describe-calls 300
fi

#DEBHELPER#

exit 0