summaryrefslogtreecommitdiff
path: root/dgit
diff options
context:
space:
mode:
authorIan Jackson <ijackson@chiark.greenend.org.uk>2014-08-03 18:41:13 +0100
committerIan Jackson <ijackson@chiark.greenend.org.uk>2014-08-03 18:41:13 +0100
commit1b77fa116900faf2c61e65cec67b0e7e59f31b10 (patch)
tree31732d4613585c2eb31218885ae72ec51ff7bec1 /dgit
parent1954110291a44ae3221c4a98781dce083b07caa8 (diff)
Work in read-only no-git-history mode with Ubuntu. You still have to pass -dubuntu. Closes:#751781.
Diffstat (limited to 'dgit')
-rwxr-xr-xdgit4
1 files changed, 4 insertions, 0 deletions
diff --git a/dgit b/dgit
index 053c768..8744874 100755
--- a/dgit
+++ b/dgit
@@ -471,6 +471,8 @@ our %defcfg = ('dgit.default.distro' => 'debian',
'dgit-distro.debian.mirror' => 'http://ftp.debian.org/debian/',
'dgit-distro.debian.backports-quirk' => '(squeeze)-backports*',
'dgit-distro.debian-backports.mirror' => 'http://backports.debian.org/debian-backports/',
+ 'dgit-distro.ubuntu.git-check' => 'false',
+ 'dgit-distro.ubuntu.mirror' => 'http://archive.ubuntu.com/ubuntu',
'dgit-distro.test-dummy.ssh' => "$td/ssh",
'dgit-distro.test-dummy.username' => "alice",
'dgit-distro.test-dummy.git-check' => "ssh-cmd",
@@ -865,6 +867,8 @@ sub check_for_git () {
return $r+0;
} elsif ($how eq 'true') {
return 1;
+ } elsif ($how eq 'false') {
+ return 0;
} else {
badcfg "unknown git-check \`$how'";
}