File: preinst

package info (click to toggle)
emacsen-common 3.0.4
  • links: PTS
  • area: main
  • in suites: bullseye, buster
  • size: 144 kB
  • sloc: perl: 418; lisp: 72; sh: 67; makefile: 25
file content (14 lines) | stat: -rw-r--r-- 388 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh

set -e

# The emacsen-common package is a special case; we can't call
# emacs-package-install from here since the new version hasn't been
# unpacked yet, so just do the important bit that it would have done.
installed_state_dir=/var/lib/emacsen-common/state/package/installed
if test -d "$installed_state_dir"
then
  rm -f "$installed_state_dir"/emacsen-common
fi

#DEBHELPER#