diff --git a/_posts/help/1970-01-01-debian.md b/_posts/help/1970-01-01-debian.md index 49f4782..211180e 100644 --- a/_posts/help/1970-01-01-debian.md +++ b/_posts/help/1970-01-01-debian.md @@ -24,11 +24,12 @@ $ sudo apt install apt-transport-https
@@ -42,8 +43,8 @@ deb https://mirrors.tuna.tsinghua.edu.cn/debian/ {{release_name}}-updates main c # deb-src https://mirrors.tuna.tsinghua.edu.cn/debian/ {{release_name}}-updates main contrib non-free deb https://mirrors.tuna.tsinghua.edu.cn/debian/ {{release_name}}-backports main contrib non-free # deb-src https://mirrors.tuna.tsinghua.edu.cn/debian/ {{release_name}}-backports main contrib non-free -deb https://mirrors.tuna.tsinghua.edu.cn/debian-security {{release_name}}/updates main contrib non-free -# deb-src https://mirrors.tuna.tsinghua.edu.cn/debian-security {{release_name}}/updates main contrib non-free +deb https://mirrors.tuna.tsinghua.edu.cn/debian-security {{release_name}}{{release_security}} main contrib non-free +# deb-src https://mirrors.tuna.tsinghua.edu.cn/debian-security {{release_name}}{{release_security}} main contrib non-free {% endraw %} diff --git a/static/js/help.es6 b/static/js/help.es6 index 0520d23..e1c3021 100644 --- a/static/js/help.es6 +++ b/static/js/help.es6 @@ -9,6 +9,7 @@ $(document).ready(() => { var sel = $(ev.target), os_name=sel.find("option:selected").data('os'), release_name=sel.find("option:selected").data('release'), + release_security=sel.find("option:selected").data('security'), opt=sel.find('option:selected').data('opt'), tmpl_selector=sel.data("template"), target_selector=sel.data("target"), @@ -16,6 +17,7 @@ $(document).ready(() => { tmpl_data=$.extend({}, { os_name: os_name, release_name: release_name + release_security: release_security, }, opt), apt_content=Mark.up( apt_template,