Source: devscripts
Version: 2.17.11
Severity: wishlist 
Tags: patch

Hi,

Patch attached that adds support for downloading packages over
the Gopher protocol.


Best wishes,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      la...@debian.org / chris-lamb.co.uk
       `-
diff --git a/scripts/dget.pl b/scripts/dget.pl
index f478240..4d97473 100755
--- a/scripts/dget.pl
+++ b/scripts/dget.pl
@@ -457,7 +457,7 @@ for my $arg (@ARGV) {
     $found_dsc = "";
 
     # case 1: URL
-    if ($arg =~ 
/^((?:copy|file|ftp|http|rsh|rsync|ssh|www).*)\/([^\/]+\.\w+)$/) {
+    if ($arg =~ 
/^((?:copy|file|ftp|gopher|http|rsh|rsync|ssh|www).*)\/([^\/]+\.\w+)$/) {
        get_file($1, $2, "unlink") or exit 1;
        if ($found_dsc) {
            if ($dget_verify) { # We are duplicating work here a bit as

Reply via email to