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

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

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