File tree Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -6,10 +6,7 @@ dependencies:
6
6
pre :
7
7
- google-chrome --version
8
8
- curl -L -o google-chrome.deb https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
9
- - curl -L -o libnss3-nssdb.deb http://archive.ubuntu.com/ubuntu/pool/main/n/nss/libnss3-nssdb_3.28.4-0ubuntu0.14.04.2_all.deb
10
- - curl -L -o libnss3-dev.deb http://archive.ubuntu.com/ubuntu/pool/main/n/nss/libnss3-dev_3.28.4-0ubuntu0.14.04.2_amd64.deb
11
- - curl -L -o libnss3-1d.deb http://archive.ubuntu.com/ubuntu/pool/main/n/nss/libnss3-1d_3.28.4-0ubuntu0.14.04.2_amd64.deb
12
- - curl -L -o libnss3.deb http://archive.ubuntu.com/ubuntu/pool/main/n/nss/libnss3_3.28.4-0ubuntu0.14.04.2_amd64.deb
9
+ - for v in $(curl http://archive.ubuntu.com/ubuntu/pool/main/n/nss/ | grep "href=" | grep "libnss3.*deb\"" -o | grep -o "libnss3.*deb" | grep "3.28" | grep "14.04"); do curl -L -o $v http://archive.ubuntu.com/ubuntu/pool/main/n/nss/$v; done
13
10
- sudo dpkg -i google-chrome.deb || true
14
11
- sudo dpkg -i libnss3*.deb || true
15
12
- sudo apt-get update
You can’t perform that action at this time.
0 commit comments