summaryrefslogtreecommitdiff
path: root/debian/llvm-X.Y-runtime.postinst.in
diff options
context:
space:
mode:
authorIgor Pashev <pashev.igor@gmail.com>2016-12-29 13:40:27 +0300
committerIgor Pashev <pashev.igor@gmail.com>2016-12-29 13:40:27 +0300
commitdf36a469d77312f6dc0dccf08252542c16cf3308 (patch)
treec7089deec82cde1a5ac416aff1daadb097225ba3 /debian/llvm-X.Y-runtime.postinst.in
downloadllvm-toolchain-3.8-df36a469d77312f6dc0dccf08252542c16cf3308.tar.gz
llvm-toolchain-3.8 (1:3.8.1-16)debian/3.8.1-16
Diffstat (limited to 'debian/llvm-X.Y-runtime.postinst.in')
-rw-r--r--debian/llvm-X.Y-runtime.postinst.in11
1 files changed, 11 insertions, 0 deletions
diff --git a/debian/llvm-X.Y-runtime.postinst.in b/debian/llvm-X.Y-runtime.postinst.in
new file mode 100644
index 0000000..987b3ea
--- /dev/null
+++ b/debian/llvm-X.Y-runtime.postinst.in
@@ -0,0 +1,11 @@
+#!/bin/sh
+
+set -e
+
+if test "$1" = "configure"; then
+ if test -x /usr/sbin/update-binfmts; then
+ update-binfmts --import llvm-@LLVM_VERSION@-runtime.binfmt || true
+ fi
+fi
+
+#DEBHELPER#