File: postrm

package info (click to toggle)
reserialize 20220929-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 104 kB
  • sloc: python: 290; sh: 12; makefile: 2
file content (11 lines) | stat: -rw-r--r-- 213 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh

set -e

if [ "$1" = "remove" ]
then
    dpkg-divert --package reserialize --remove --rename /usr/bin/json2yaml
    dpkg-divert --package reserialize --remove --rename /usr/bin/yaml2json
fi

#DEBHELPER#