summarylogtreecommitdiffstats
path: root/readme.install
blob: 750d638dee775677567ae7188b99be3be07d4c32 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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-1080" atv4-1080 \n\'
  echo ' "ATV4-4k" atv4-4k \n\'
  echo '------------------------------------------------------------------------------------'
}

post_upgrade() {
  # version 1.08 introduces new videos
  if [[ "$(vercmp $2 1.08)" -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} for 1080 and'
    echo ' in $XDG_CONFIG_HOME/.atv4-{day,night}-4k for 4k.'
    echo '------------------------------------------------------------------------------------'
  fi
}

# vim:set ts=2 sw=2 et: