File: python3-swiftclient.postinst

package info (click to toggle)
python-swiftclient 1%3A3.6.0-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 1,324 kB
  • sloc: python: 16,062; makefile: 119; sh: 84
file content (12 lines) | stat: -rwxr-xr-x 248 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh

set -e

if [ "$1" = "configure" ] ; then
	update-alternatives --install /usr/bin/swift swift /usr/bin/python3-swift 200 \
		--slave /usr/share/man/man1/swift.1.gz swift.1.gz /usr/share/man/man1/python3-swift.1.gz
fi

#DEBHELPER#

exit 0