summarylogtreecommitdiffstats
path: root/darkplaces-xonotic.install
diff options
context:
space:
mode:
Diffstat (limited to 'darkplaces-xonotic.install')
-rw-r--r--darkplaces-xonotic.install19
1 files changed, 10 insertions, 9 deletions
diff --git a/darkplaces-xonotic.install b/darkplaces-xonotic.install
index 17f88a712581..78f12fba5847 100644
--- a/darkplaces-xonotic.install
+++ b/darkplaces-xonotic.install
@@ -1,14 +1,15 @@
post_install() {
- echo ">>> You need the Quake 1 data to play."
- echo ">>> Copy your \"id1\" directory to /usr/share/quake"
- post_upgrade
+ cat <<EOF
+You need the Quake 1 data files to play.
+Copy the "id1" directory to /usr/share/games/quake
+EOF
}
post_upgrade() {
- update-desktop-database -q
- gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+ if [ "$(vercmp "$1" 0.8.1-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
}
-
-post_remove() {
- post_upgrade
-} \ No newline at end of file