File: postrm

package info (click to toggle)
belocs-locales-bin 2.3.4-8
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 2,264 kB
  • ctags: 2,048
  • sloc: ansic: 22,597; sh: 1,029; perl: 127; makefile: 105
file content (13 lines) | stat: -rw-r--r-- 393 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
#! /bin/sh -e

if [ remove = "$1"  ]; then
    for f in locale localedef
    do
        dpkg-divert --package belocs-locales-bin --remove --rename \
                    --divert /usr/bin/$f.glibc /usr/bin/$f
        dpkg-divert --package belocs-locales-bin --remove --rename \
                    --divert /usr/share/man/man1/$f.glibc.1.gz /usr/share/man/man1/$f.1.gz
    done
fi

#DEBHELPER#