[magneto] fix magneto executable

This commit is contained in:
Fabio Erculiani
2009-07-30 11:04:40 +02:00
parent 745c036ab1
commit 18a2ee88a0
2 changed files with 4 additions and 1 deletions
+3 -1
View File
@@ -1,2 +1,4 @@
#!/bin/bash
/usr/lib/entropy/magneto/magneto.py "$@"
pyexec="/usr/bin/python2"
[[ ! -x "${pyexec}" ]] && pyexec="/usr/bin/python"
${pyexec} /usr/lib/entropy/magneto/magneto.py "$@"
+1
View File
@@ -1,3 +1,4 @@
#!/usr/bin/python -O
"""
@author: Fabio Erculiani <lxnay@sabayonlinux.org>