summarylogtreecommitdiffstats
path: root/darkplaces.install
diff options
context:
space:
mode:
Diffstat (limited to 'darkplaces.install')
-rw-r--r--darkplaces.install15
1 files changed, 13 insertions, 2 deletions
diff --git a/darkplaces.install b/darkplaces.install
index 2150e2d21366..956032354e0f 100644
--- a/darkplaces.install
+++ b/darkplaces.install
@@ -1,4 +1,15 @@
post_install() {
- echo ">>> You need the Quake 1 data to play."
- echo ">>> Copy your \"id1\" directory to /usr/share/quake"
+ cat <<EOF
+You need the Quake 1 data files to play.
+Copy the "id1" directory to /usr/share/games/quake
+EOF
+}
+
+post_upgrade() {
+ if [ "$(vercmp "$1" 20140513-1)" -eq 1 ]; then
+ cat <<EOF
+The Quake data directory has changed to /usr/share/games/quake
+You may need to move or link your current data from /usr/share/quake
+EOF
+ fi
}