summarylogtreecommitdiffstats
path: root/etterna-git.install
diff options
context:
space:
mode:
authorToby Jones2018-10-22 19:54:28 +0100
committerToby Jones2018-10-22 19:54:28 +0100
commit9d1fb1e222d6b950ab5946be579ae85ca6667626 (patch)
tree2773a4d160719d3334022127aabae13adab7be1f /etterna-git.install
downloadaur-9d1fb1e222d6b950ab5946be579ae85ca6667626.tar.gz
Initial commit
Diffstat (limited to 'etterna-git.install')
-rw-r--r--etterna-git.install14
1 files changed, 14 insertions, 0 deletions
diff --git a/etterna-git.install b/etterna-git.install
new file mode 100644
index 000000000000..219cdda1ec4b
--- /dev/null
+++ b/etterna-git.install
@@ -0,0 +1,14 @@
+function post_install {
+ desktop-file-install "/usr/share/applications/etterna.desktop"
+ chmod 777 -R /opt/etterna
+ 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 {
+ post_install
+}
+
+function post_remove {
+ echo "Etterna has been uninstalled - all data in /opt/etterna is gone forever!"
+}