summarylogtreecommitdiffstats
path: root/openra-d2.install
diff options
context:
space:
mode:
authorBrenton Horne2019-03-23 21:23:09 +1000
committerBrenton Horne2019-03-23 21:23:09 +1000
commitf73be348c1ae3a584e35c1cfb5ff23e4238bf85e (patch)
tree036046c14b7b5bc73513d01ddb00b8e5fa7edce5 /openra-d2.install
downloadaur-f73be348c1ae3a584e35c1cfb5ff23e4238bf85e.tar.gz
Initial commit
Diffstat (limited to 'openra-d2.install')
-rwxr-xr-xopenra-d2.install19
1 files changed, 19 insertions, 0 deletions
diff --git a/openra-d2.install b/openra-d2.install
new file mode 100755
index 00000000000..e929193a34c
--- /dev/null
+++ b/openra-d2.install
@@ -0,0 +1,19 @@
+post_upgrade() {
+ update-desktop-database -q
+ gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+}
+
+post_install() {
+ echo "If the game doesn't run, try using the Cg renderer ~/.openra/settings.yaml like so:"
+ echo "Graphics:"
+ echo " Renderer: Cg"
+ echo "Be careful to only use one indenting tab with 8 shift width."
+ echo "Original game assets are required in order to play this game."
+ post_upgrade
+}
+
+post_remove() {
+ echo "openra downloaded data files to ~/.openra/Content and you might want"
+ echo "to delete those."
+ post_upgrade
+}