Explorar el Código

update-proxy: use curl instead of wget in archlinux in order to limit additional dependencies

Olivier MEDOC hace 8 años
padre
commit
57e5026963
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      network/update-proxy-configs

+ 1 - 1
network/update-proxy-configs

@@ -120,5 +120,5 @@ fi
 
 # Pacman (archlinux) also
 if [ -e /etc/pacman.conf ]; then
-    update_conf /etc/pacman.conf "XferCommand = http_proxy=$PROXY_ADDR /usr/bin/wget --passive-ftp -c -O %o %u"
+    update_conf /etc/pacman.conf "XferCommand = http_proxy=$PROXY_ADDR /usr/bin/curl -C - -f %u > %o"
 fi