File: python-rtslib-fb.postrm

package info (click to toggle)
python-rtslib-fb 2.1.57%2Bdebian-4
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 376 kB
  • ctags: 521
  • sloc: python: 3,307; makefile: 172; sh: 132
file content (12 lines) | stat: -rw-r--r-- 219 bytes parent folder | download | duplicates (4)
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-python2
fi
if [ "$1" = "purge" ] ; then
	rm -rf /etc/rtslib-fb-target
fi

#DEBHELPER#