summarylogtreecommitdiffstats
path: root/marktext.install
diff options
context:
space:
mode:
authorGitSquared2019-11-07 22:36:51 +0100
committerGitSquared2019-11-07 22:36:51 +0100
commita32c2c04cece47ea5387edced113fb9365f7ba4f (patch)
treea17e19069ca00bc23a3c5898a866b54d090209e1 /marktext.install
parent0c4884d24f1a92634bc0e90ec7165e99442cea7b (diff)
downloadaur-a32c2c04cece47ea5387edced113fb9365f7ba4f.tar.gz
Adoption, packaging rewrite
Diffstat (limited to 'marktext.install')
-rw-r--r--marktext.install10
1 files changed, 10 insertions, 0 deletions
diff --git a/marktext.install b/marktext.install
new file mode 100644
index 00000000000..12e113fdcc5
--- /dev/null
+++ b/marktext.install
@@ -0,0 +1,10 @@
+post_install() {
+ ln -sf '/opt/Mark Text/marktext' '/usr/bin/marktext'
+
+ update-mime-database /usr/share/mime || true
+ update-desktop-database /usr/share/applications || true
+}
+
+post_remove() {
+ rm -f '/usr/bin/marktext'
+}