File: python3-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/python3-check-uuid 200
	update-alternatives --install /usr/bin/run-tempest-stress run-tempest-stress /usr/bin/python3-run-tempest-stress 200
	update-alternatives --install /usr/bin/skip-tracker skip-tracker /usr/bin/python3-skip-tracker 200
	update-alternatives --install /usr/bin/tempest tempest /usr/bin/python3-tempest 200
	update-alternatives --install /usr/bin/tempest-account-generator tempest-account-generator /usr/bin/python3-tempest-account-generator 200
	update-alternatives --install /usr/bin/tempest-cleanup tempest-cleanup /usr/bin/python3-tempest-cleanup 200
	update-alternatives --install /usr/bin/verify-tempest-config verify-tempest-config /usr/bin/python3-verify-tempest-config 200
	update-alternatives --install /usr/bin/subunit-describe-calls subunit-describe-calls /usr/bin/python3-subunit-describe-calls 200
fi

#DEBHELPER#

exit 0