Thuban
2018-12-01 54613da01ddf0f14527822ced5b9bd750b825fb6
commit | author | age
54613d 1 #!/bin/sh
T 2 # script to launch vilainreport with the latest python3 version available
3
4 PYTHONVERSION=$(ls -l /usr/local/bin/python3.* |grep -Eo "3\.[0-9]" |tail -n1)
5 PYTHON="/usr/local/bin/python$PYTHONVERSION"
6 if [ -x $PYTHON ]; then
7     $PYTHON /usr/local/sbin/vilainreport.py
8 else
9     echo "Error : no python3 executable found"
10 fi
11 exit