summarylogtreecommitdiffstats
path: root/readme.install
diff options
context:
space:
mode:
Diffstat (limited to 'readme.install')
-rw-r--r--readme.install31
1 files changed, 18 insertions, 13 deletions
diff --git a/readme.install b/readme.install
index d6f57a4da8e5..5d450c7d996c 100644
--- a/readme.install
+++ b/readme.install
@@ -1,21 +1,26 @@
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 '------------------------------------------------------------------------------------'
+ cat <<END
+
+>>> You must edit ~/.xscreensaver to add support for this screensaver
+ Find the line "programs:" and simply add the following below it:
+ "ATV4-2k" atv4-2k \\n\\
+ "ATV4-4k" atv4-4k \\n\\
+
+END
}
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 '------------------------------------------------------------------------------------'
+ cat <<END
+
+>>> You must manually delete your day and night databases or wait for all videos
+ to cycle for the rebuild. New videos will be unavailable until either of
+ these happen.
+
+ Hint: the databases reside in \$XDG_CONFIG_HOME/.atv4-{day,night} for 2k and
+ in \$XDG_CONFIG_HOME/.atv4-{day,night}-4k for 4k.
+
+END
fi
}