File: python3-diskimage-builder.postinst

package info (click to toggle)
python-diskimage-builder 2.16.0-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 3,848 kB
  • sloc: sh: 6,948; python: 3,271; makefile: 42
file content (15 lines) | stat: -rw-r--r-- 615 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" = "configure" ] ; then
	update-alternatives --install /usr/bin/dib-block-device dib-block-device /usr/bin/python3-dib-block-device 200
	update-alternatives --install /usr/bin/dib-lint dib-lint /usr/bin/python3-dib-lint 200
	update-alternatives --install /usr/bin/disk-image-create disk-image-create /usr/bin/python3-disk-image-create 200
	update-alternatives --install /usr/bin/element-info element-info /usr/bin/python3-element-info 200
	update-alternatives --install /usr/bin/ramdisk-image-create ramdisk-image-create /usr/bin/python3-ramdisk-image-create 200
fi

#DEBHELPER#

exit 0