Skip to content

Commit a58d79f

Browse files
committed
^python
1 parent d532138 commit a58d79f

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

python/pythonX-install.sh

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
#!/bin/sh
22

3-
grep --quiet deadsnakes/ppa --recursive /etc/apt/sources.list.d/ || sudo add-apt-repository ppa:deadsnakes/ppa
3+
# https://launchpad.net/~deadsnakes/+archive/ubuntu/ppa
4+
5+
grep --quiet '^deb.*deadsnakes/ppa' --recursive /etc/apt/sources.list.d/ || sudo add-apt-repository ppa:deadsnakes/ppa
46
sudo apt-get -q update
57

6-
for v in 2.{3..7} 3.{1..9}; do
8+
for v in 2.{3..7} 3.{1..10}; do
79
which python$v || sudo apt-get --yes install python$v
810
done
911

0 commit comments

Comments
 (0)