File: postinst

package info (click to toggle)
emacsen-common 3.0.5
  • links: PTS
  • area: main
  • in suites: bookworm
  • size: 144 kB
  • sloc: perl: 422; lisp: 72; sh: 67; makefile: 26
file content (17 lines) | stat: -rw-r--r-- 411 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

# Convert installed-flavors to flavor/installed/*.
if test -e /var/lib/emacsen-common/installed-flavors
then
  for flavor in $(cat /var/lib/emacsen-common/installed-flavors)
  do
    touch "/var/lib/emacsen-common/state/flavor/installed/$flavor"
  done
  rm -f /var/lib/emacsen-common/installed-flavors
fi

/usr/lib/emacsen-common/emacs-package-install --postinst emacsen-common

#DEBHELPER#