summarylogtreecommitdiffstats
path: root/moped.install
diff options
context:
space:
mode:
authorBen Morgan2015-07-19 12:13:09 +0200
committerBen Morgan2015-07-19 12:13:09 +0200
commitc13f77c8a7cb19b29f7904185b1be9c415acd51f (patch)
tree5b788c11cb78c44bb02db0e923cacf12ede5e250 /moped.install
downloadaur-c13f77c8a7cb19b29f7904185b1be9c415acd51f.tar.gz
Initial commit
Diffstat (limited to 'moped.install')
-rw-r--r--moped.install14
1 files changed, 14 insertions, 0 deletions
diff --git a/moped.install b/moped.install
new file mode 100644
index 000000000000..6f37df13b228
--- /dev/null
+++ b/moped.install
@@ -0,0 +1,14 @@
+# moped.install
+# This file is used for installation with pacman
+
+post_install() {
+ ln -sf /usr/lib/moped/moped.py /usr/bin/moped
+}
+
+post_upgrade() {
+ ln -sf /usr/lib/moped/moped.py /usr/bin/moped
+}
+
+post_remove() {
+ rm /usr/bin/moped
+}