File: python3-diskimage-builder.postrm

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-- 490 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/sh

set -e

if [ "$1" = "remove" ] || [ "$1" = "disappear" ] ; then
	update-alternatives --remove dib-block-device /usr/bin/python3-dib-block-device
	update-alternatives --remove dib-lint /usr/bin/python3-dib-lint
	update-alternatives --remove disk-image-create /usr/bin/python3-disk-image-create
	update-alternatives --remove element-info /usr/bin/python3-element-info
	update-alternatives --remove ramdisk-image-create /usr/bin/python3-ramdisk-image-create
fi

#DEBHELPER#

exit 0