summarylogtreecommitdiffstats
path: root/darkplaces.install
diff options
context:
space:
mode:
authorMike Swanson2016-05-16 05:42:19 -0700
committerMike Swanson2016-05-16 05:42:19 -0700
commitb8adb5c0b809394ab1e39459f642664826ee31e9 (patch)
tree3104d3d1b81e8a636f4e6da4a7978dee86d688dd /darkplaces.install
parente83da735b47f8f53a995d5e4a280050c64ef1f61 (diff)
downloadaur-b8adb5c0b809394ab1e39459f642664826ee31e9.tar.gz
Use /usr/share/games/quake and don't strip debugging symbols
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
}