File: python-oslo.policy.prerm

package info (click to toggle)
python-oslo.policy 1.38.1-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 672 kB
  • sloc: python: 4,181; sh: 54; makefile: 26
file content (15 lines) | stat: -rwxr-xr-x 548 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/sh

set -e

if [ "$1" = "remove" ] ; then
	update-alternatives --remove oslopolicy-checker /usr/bin/python2-oslopolicy-checker
	update-alternatives --remove oslopolicy-list-redundant /usr/bin/python2-oslopolicy-list-redundant
	update-alternatives --remove oslopolicy-policy-generator /usr/bin/python2-oslopolicy-policy-generator
	update-alternatives --remove oslopolicy-sample-generator /usr/bin/python2-oslopolicy-sample-generator
	update-alternatives --remove oslopolicy-checker /usr/bin/python2-oslopolicy-checker
fi

#DEBHELPER#

exit 0