summarylogtreecommitdiffstats
path: root/jed.install
blob: 0a006b81db4e6da0a5796eda004dbae34846b6a5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# shellcheck shell=bash
# -*- sh -*-

pre_install() {
  _pkgver="$1"

  set -o noglob

  cat <<EOF >&2
»  NB: If you come from another packaging of jed you may have to
»      remove existing *.slc and *.dfa files in \$JED_ROOT prior
»      to installing the present package, e.g.:
»
»        \$ cd /usr/share/jed/lib
»        \$ sudo rm ./*.dfa ./*.slc colors/*.slc
»
»      Alternatively, pacman can overwrite conflicting *.slc and
»      *.dfa files. Please see pacman(8) for details.
EOF
}

pre_upgrade() {
  pre_install "$@"
}

# eof