summarylogtreecommitdiffstats
path: root/jed-git.install
blob: 98b431f588500b6c5779abb2ea4fed6002c09003 (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
27
28
29
30
31
# -*- 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 *.slc *.dfa
»
»      Alternatively, pacman can overwrite conflicting *.slc and
»      *.dfa files with e.g.:
»
»        \$ sudo pacman \\
»            --overwrite '*.slc' --overwrite '*.dfa' \\
» 	     jed-git-${_pkgver}-*.pkg.tar.zst
»
»  Please see pacman(8) for details.
EOF
}

pre_upgrade() {
  pre_install "$@"
}

# eof