瀏覽代碼

Update wireguard.sh

Teddysun 5 年之前
父節點
當前提交
5c95fdb6fd
共有 1 個文件被更改,包括 0 次插入1 次删除
  1. 0 1
      wireguard.sh

+ 0 - 1
wireguard.sh

@@ -343,7 +343,6 @@ install_wg_2() {
     _info "Install wireguard from source"
     case "$(_os)" in
         ubuntu|debian|raspbian)
-            _error_detect "apt-get update"
             if [ ! -d "/usr/src/linux-headers-$(uname -r)" ]; then
                 if [ "$(_os)" = "raspbian" ]; then
                     _error_detect "apt-get -y install raspberrypi-kernel-headers"