chiark / gitweb /
Use "ftp.debian.org" not "http.debian.net" as the default Debian archive. (http...
[dgit.git] / dgit
diff --git a/dgit b/dgit
index 3f9dd97375a6cf00a1a22276fe8ee16f5dd24645..d2a52f6231935b2d1066cce8b811e63f12389588 100755 (executable)
--- a/dgit
+++ b/dgit
@@ -236,7 +236,7 @@ our %defcfg = ('dgit.default.distro' => 'debian',
               'dgit-distro.debian.sshdakls-host' => 'coccia.debian.org',
               'dgit-distro.debian.sshdakls-dir' =>
                   '/srv/ftp-master.debian.org/ftp/dists',
-              'dgit-distro.debian.mirror' => 'http://http.debian.net/debian/');
+              'dgit-distro.debian.mirror' => 'http://ftp.debian.org/debian/');
 
 sub cfg {
     foreach my $c (@_) {
@@ -1017,7 +1017,7 @@ END
        runcmd_ordryrun @dpkgsource, qw(--commit .), $patchname;
     }
 
-    if (!open P, '>', ".pc/applied-patches") {
+    if (!open P, '>>', ".pc/applied-patches") {
        $!==&ENOENT or die $!;
     } else {
        close P;