summarylogtreecommitdiffstats
path: root/moped.install
diff options
context:
space:
mode:
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
+}