diff options
Diffstat (limited to 'python/reedsolo')
-rw-r--r-- | python/reedsolo/reedsolo.SlackBuild | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/python/reedsolo/reedsolo.SlackBuild b/python/reedsolo/reedsolo.SlackBuild index f50e111497eb1..76669f095987e 100644 --- a/python/reedsolo/reedsolo.SlackBuild +++ b/python/reedsolo/reedsolo.SlackBuild @@ -65,15 +65,18 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; +rm -f creedsolo.c + # Python 2.7 will be droped in the future. if $(python2 -c 'import sys' 2>/dev/null); then python2 setup.py install --root=$PKG - else +else python setup.py install --root=$PKG fi # Replacement of python-2.x Python3.x check presence and build if found. if $(python3 -c 'import sys' 2>/dev/null); then + rm -f creedsolo.c python3 setup.py install --root=$PKG fi |