File: commit-patch.postinst

package info (click to toggle)
commit-patch 2.6.2-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 172 kB
  • sloc: perl: 225; sh: 141; lisp: 141; makefile: 49
file content (15 lines) | stat: -rwxr-xr-x 475 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/sh

set -e

if [ "$1" = "configure" ]; then
    if test -d /usr/share/emacs/site-lisp/commit-patch; then
        # Due to a bug in the commit-patch-2.6-2 emacsen-remove script, the
        # xemacs byte compiled files got purged instead of the emacs
        # files. Detect this and clean them up now.
        echo install/commit-patch: purging old version of byte-compiled files for emacs
        rm -rf /usr/share/emacs/site-lisp/commit-patch
    fi
fi

#DEBHELPER#