File: python3-jsonpatch.postrm

package info (click to toggle)
python-json-patch 1.32-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 332 kB
  • sloc: python: 1,623; javascript: 318; makefile: 160; sh: 19
file content (13 lines) | stat: -rwxr-xr-x 298 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh

set -e

if [ "$1" = "remove" ] || [ "$1" = "disappear" ]; then
	update-alternatives --remove jsondiff /usr/bin/python3-jsondiff
	update-alternatives --remove jsonpatch /usr/bin/python3-jsonpatch
	update-alternatives --remove jsondiff /usr/bin/json-patch-jsondiff
fi

#DEBHELPER#

exit 0