summarylogtreecommitdiffstats
path: root/electronmail-bin.install
diff options
context:
space:
mode:
authorOirio Joshi2019-03-13 17:12:55 +0100
committerOirio Joshi2019-03-13 17:12:55 +0100
commit6e9d93dd5df0238cbd2f16f5cb250dc890d56788 (patch)
treedae99a4028a47f5960d9f0faae3ce3aad888015f /electronmail-bin.install
downloadaur-6e9d93dd5df0238cbd2f16f5cb250dc890d56788.tar.gz
version 3.0.0
Diffstat (limited to 'electronmail-bin.install')
-rw-r--r--electronmail-bin.install16
1 files changed, 16 insertions, 0 deletions
diff --git a/electronmail-bin.install b/electronmail-bin.install
new file mode 100644
index 000000000000..f4be1ffbc796
--- /dev/null
+++ b/electronmail-bin.install
@@ -0,0 +1,16 @@
+post_install() {
+ :
+#!/bin/bash
+
+# Link to the binary
+ln -sf '/opt/ElectronMail/electron-mail' '/usr/local/bin/electron-mail'
+
+}
+post_remove() {
+ :
+#!/bin/bash
+
+# Delete the link to the binary
+rm -f '/usr/local/bin/electron-mail'
+
+}