summarylogtreecommitdiffstats
path: root/etterna-git.install
diff options
context:
space:
mode:
authorToby Jones2018-10-23 00:50:13 +0100
committerToby Jones2018-10-23 00:50:13 +0100
commit33df99443a229bcccca40a1f1373d63aa879cb49 (patch)
treea7f5d33a9c8e597b13af1aa4f8aba35b188a188e /etterna-git.install
parentfa25d1bd50ae68ba79aff799b998b41241437c59 (diff)
downloadaur-33df99443a229bcccca40a1f1373d63aa879cb49.tar.gz
fix icon and permissions to fix game crash on start
Diffstat (limited to 'etterna-git.install')
-rw-r--r--etterna-git.install7
1 files changed, 5 insertions, 2 deletions
diff --git a/etterna-git.install b/etterna-git.install
index 219cdda1ec4b..ecf11380b2df 100644
--- a/etterna-git.install
+++ b/etterna-git.install
@@ -1,11 +1,14 @@
function post_install {
desktop-file-install "/usr/share/applications/etterna.desktop"
- chmod 777 -R /opt/etterna
+
+ chmod 777 -R /opt/etterna-git
+ chown -R nobody:nobody /opt/etterna-git
+
echo "All user data is stored in your home directory."
echo "However, you should still keep a backup of the data in /opt/etterna if you reinstall/remove Etterna!"
}
-function post_upgrade {
+function post_upgrade {s
post_install
}