blob: b0ad169f44eaaf6906d5ba0684aa84e4e6cbec51 (
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
|
# arg 1: the new package version
post_install() {
cat <<EOM
If you wish to use any JS user scripts, please create appropriate
symlinks in your ~/.config/lariza/user-scripts/. For example:
$ cd ~/.config/lariza/user-scripts
$ ln -s /usr/share/lariza/user-scripts/hints.js
If you wish to use any web extensions, please create appropriate
symlinks in your ~/.config/lariza/web_extensions/. For example:
$ cd ~/.config/lariza/web_extensions
$ ln -s /usr/lib/lariza/web_extensions/we_adblock.so
EOM
}
# arg 1: the new package version
# arg 2: the old package version
post_upgrade() {
if [ "$(vercmp "$2" 16.06-1)" -lt 1 ]; then
cat <<EOM
>>> IMPORTANT CHANGES
- Bundled web extensions have been moved to /usr/lib/lariza/web_extensions.
- Also, lariza now looks for symlinks to web extensions in
~/.config/lariza/web_extensions.
EOM
fi
}
|