summarylogtreecommitdiffstats
path: root/openra-yr.install
diff options
context:
space:
mode:
authorBrenton Horne2019-03-23 22:58:43 +1000
committerBrenton Horne2019-03-23 22:58:43 +1000
commit552e05f253b42fbdd6192fbefcee05ce2de4053d (patch)
treecd405f2ae6dbc50fb4d92ef1782ebe735cd16d35 /openra-yr.install
downloadaur-552e05f253b42fbdd6192fbefcee05ce2de4053d.tar.gz
Initial commit
Diffstat (limited to 'openra-yr.install')
-rwxr-xr-xopenra-yr.install18
1 files changed, 18 insertions, 0 deletions
diff --git a/openra-yr.install b/openra-yr.install
new file mode 100755
index 000000000000..a00383965830
--- /dev/null
+++ b/openra-yr.install
@@ -0,0 +1,18 @@
+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."
+ post_upgrade
+}
+
+post_remove() {
+ echo "openra downloaded data files to ~/.openra/Content and you might want"
+ echo "to delete those."
+ post_upgrade
+}