hookd: Add example script using python
authorKristian Fiskerstrand <kf@sumptuouscapital.com>
Sat, 28 May 2016 20:59:49 +0000 (22:59 +0200)
committerKristian Fiskerstrand <kf@sumptuouscapital.com>
Sat, 28 May 2016 20:59:49 +0000 (22:59 +0200)
hooks/hook.d/gentoo03/prepare.d/02-python.py [new file with mode: 0755]

diff --git a/hooks/hook.d/gentoo03/prepare.d/02-python.py b/hooks/hook.d/gentoo03/prepare.d/02-python.py
new file mode 100755 (executable)
index 0000000..ccbed58
--- /dev/null
@@ -0,0 +1,6 @@
+#!/usr/bin/env python
+def main():
+    print("abc testing")
+
+if __name__ == "__main__":
+    main()