зеркало из https://github.com/mozilla/tls-canary.git
Merge pull request #224 from jcjones/fixups
Fixups for running on Linux
This commit is contained in:
Коммит
5e243f4dd8
|
@ -1,5 +1,5 @@
|
|||
#!/bin/bash
|
||||
# AWS Ubuntu 18.4 linux bootstrap
|
||||
# AWS Ubuntu 20.4 linux bootstrap
|
||||
sudo apt-get update
|
||||
sudo apt-get -y install \
|
||||
gcc \
|
||||
|
@ -13,9 +13,12 @@ sudo apt-get -y install \
|
|||
p7zip-full \
|
||||
python3 \
|
||||
python3-dev \
|
||||
python3-pip
|
||||
python3-pip \
|
||||
libx11-xcb-dev
|
||||
|
||||
# The virtualenv package is not consistently named across distros
|
||||
sudo apt-get -y install virtualenv \
|
||||
|| sudo apt-get -y install python3-virtualenv
|
||||
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
|
||||
|
||||
|
|
|
@ -61,7 +61,7 @@ function set_prefs(prefs) {
|
|||
Services.prefs.setIntPref(prop, value);
|
||||
break;
|
||||
case "string":
|
||||
Services.prefs.setPref(prop, value);
|
||||
Services.prefs.setStringPref(prop, value);
|
||||
break;
|
||||
default:
|
||||
throw "Unsupported pref type " + type;
|
||||
|
@ -223,4 +223,5 @@ function run_loop() {
|
|||
print(error);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче