File: python3-rtslib-fb.postrm

package info (click to toggle)
python-rtslib-fb 2.1.76-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 376 kB
  • sloc: python: 4,371; sh: 76; makefile: 63
file content (12 lines) | stat: -rwxr-xr-x 219 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh

set -e

if [ "$1" = "remove" ] || [ "$1" = "disappear" ]; then
	update-alternatives --remove targetctl /usr/bin/targetctl-python3
fi
if [ "$1" = "purge" ] ; then
	rm -rf /etc/rtslib-fb-target
fi

#DEBHELPER#