We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b200eb2 commit 6a8b7afCopy full SHA for 6a8b7af
scripts/config/proxy.conf
@@ -0,0 +1,2 @@
1
+Acquire::http::Proxy "http://127.0.0.1:7890/";
2
+Acquire::https::Proxy "http://127.0.0.1:7890/";
scripts/sync/sync_apt_proxy.py
@@ -0,0 +1,10 @@
+import shutil
+import os
3
+
4
+src = '/etc/apt/apt.conf.d/proxy.conf'
5
+dst_dir = "scripts/config"
6
+os.makedirs(dst_dir, exist_ok=True)
7
+dst = os.path.join(dst_dir, 'proxy.conf')
8
9
+shutil.copy2(src, dst)
10
+print(f"Copied {src} to {dst}")
0 commit comments