blob: bb8fb2d140cc93af9cf4661b2c98be1eaa7bc77d (
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
|