Group :: Terminals
RPM: byobu
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
Patch: byobu-python.patch
Download
Download
diff --git a/byobu/usr/lib/byobu/include/constants b/byobu/usr/lib/byobu/include/constants
index f9c2368..07c35bf 100755
--- a/byobu/usr/lib/byobu/include/constants
+++ b/byobu/usr/lib/byobu/include/constants
@@ -59,13 +59,7 @@ eval $BYOBU_TEST ulimit >/dev/null 2>&1 && export BYOBU_ULIMIT="ulimit" || expor
# Find a suitable python interpreter, if undefined
if [ -z "$BYOBU_PYTHON" ]; then
- if python3 -c "import snack" >/dev/null 2>&1; then
- export BYOBU_PYTHON="python3"
- elif python2 -c "import snack" >/dev/null 2>&1; then
- export BYOBU_PYTHON="python2"
- elif python -c "import snack" >/dev/null 2>&1; then
- export BYOBU_PYTHON="python"
- fi
+ export BYOBU_PYTHON="python3"
fi
export BYOBU_WINDOW_NAME="-"