post_install() { echo '------------------------------------------------------------------------------------' echo ' You must edit ~/.xscreensaver to add support for this screensaver' echo ' Find the line "programs:" and simply add the following below it:' echo ' "ATV4" atv4 \n\' echo '------------------------------------------------------------------------------------' } post_upgrade() { # version 1.05 introduces new videos if [[ "$(vercmp $2 1.05)" -lt 0 ]]; then echo '------------------------------------------------------------------------------------' echo ' You must manually delete your day and night databases or wait for all videos to' echo ' cycle for the rebuild. New videos will be unavailable until either of these happen.' echo echo ' Hint: the databases reside in $XDG_CONFIG_HOME/.atv4-{day,night}' echo '------------------------------------------------------------------------------------' fi } # vim:set ts=2 sw=2 et: