File: prerm

package info (click to toggle)
mailcap 3.75
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 168 kB
  • sloc: perl: 826; sh: 61; makefile: 57
file content (14 lines) | stat: -rw-r--r-- 233 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#! /bin/sh
#
# prerm file for mime-support

set -e

if [ "$1" = "remove" ]; then
    rm -f /etc/mailcap
fi

# /usr/bin/open alternative
if [ "$1" = remove ]; then
    update-alternatives --quiet --remove open /usr/bin/run-mailcap
fi