File: postrm

package info (click to toggle)
im 1%3A153-4
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, sid
  • size: 1,476 kB
  • sloc: perl: 8,172; sh: 3,333; makefile: 140
file content (17 lines) | stat: -rw-r--r-- 337 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#! /bin/sh
set -e

if [ x != x"`command -v dpkg-statoverride`" ]; then
  if dpkg-statoverride --list /usr/bin/imget >/dev/null ; then
    dpkg-statoverride --remove /usr/bin/imget
  fi
fi

if [ "$1" = "purge" ]; then
  rm -f /etc/im/SiteConfig*
  if [ -d /etc/im ]; then
    rmdir --ignore-fail-on-non-empty /etc/im
  fi
fi

#DEBHELPER#