diff options
Diffstat (limited to 'lariza.install')
-rw-r--r-- | lariza.install | 26 |
1 files changed, 21 insertions, 5 deletions
diff --git a/lariza.install b/lariza.install index 1c872e999bea..4a20b4cff053 100644 --- a/lariza.install +++ b/lariza.install @@ -1,8 +1,24 @@ # arg 1: the new package version post_install() { - echo 'If you wish to use any web extensions, please create appropriate' - echo 'symlinks in your ~/.local/share/lariza/web_extensions/. For example:' - echo - echo ' $ cd ~/.local/share/lariza/web_extensions' - echo ' $ ln -s /usr/share/lariza/web_extensions/we_adblock.so' + cat <<EOM +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 } |