Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions fpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ while [ -h "$SOURCE" ]; do
done
BASEDIR="$( cd -P "$( dirname "$SOURCE" )" && pwd )"

PYTHONCMD="python"
PYTHONCMD="python3"
NONINTERACTIVE=false

# Setup according to XDG/Freedesktop standards as specified by
Expand Down Expand Up @@ -73,8 +73,8 @@ for opt in "$@"; do
VERSION="$($PYTHONCMD "$BASEDIR/src/version.py")"
echo "fpp version $VERSION"
exit 0
elif [ "$opt" == "--python3" ]; then
PYTHONCMD="python3"
elif [ "$opt" == "--python2" ]; then
PYTHONCMD="python2"
elif [ "$opt" == "--help" -o "$opt" == "-h" ]; then
$PYTHONCMD "$BASEDIR/src/printHelp.py"
exit 0
Expand Down