Browse Source

Merge branch 'master' of git.sciuro.org:Burathar/xscreensaver-yubilock

master
Burathar 4 years ago
parent
commit
16cbf9b270
  1. 8
      install.sh

8
install.sh

@ -63,7 +63,15 @@ esac @@ -63,7 +63,15 @@ esac
echo "== Making sure python3 and virtualenv are installed =="
python3 --version || apt-get install -y python3
# Ubuntu asks for extra libraries except python3-venv. Test for other systems?
osname=`awk -F= '/^NAME/{print $2}' /etc/os-release`
if [ "$osname" = '"Ubuntu"' ]; then
apt-get install -y python3-venv
else
python3 -m venv -h >/dev/null 2>&1 || apt-get install -y python3-venv
fi

Loading…
Cancel
Save