summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2010-02-24 09:06:23 +0100
committerRichard Jones <rjones@redhat.com>2010-02-24 15:30:41 +0000
commitb5c307b7d6c154337b1d2427b81418ebc9e16251 (patch)
tree427bac82662a077db9100c45ccf264e44ce5fea4
parentd070a017f710244908617eaa8fa147bc335aa660 (diff)
downloadlibguestfs-b5c307b7d6c154337b1d2427b81418ebc9e16251.tar.gz
libguestfs-b5c307b7d6c154337b1d2427b81418ebc9e16251.tar.xz
libguestfs-b5c307b7d6c154337b1d2427b81418ebc9e16251.zip
Debian package format
Hi, Minor nitpick: the Debian folks usually refer to deb as the package format not dpkg. Cheers, -- Guido >From 7a9665d40e0a3109833de10f17831ae06fc8885a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Guido=20G=C3=BCnther?= <agx@sigxcpu.org> Date: Tue, 23 Feb 2010 21:04:37 +0100 Subject: [PATCH 1/2] Debina package format is called 'deb' not 'dpkg'
-rw-r--r--perl/lib/Sys/Guestfs/Lib.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl/lib/Sys/Guestfs/Lib.pm b/perl/lib/Sys/Guestfs/Lib.pm
index 2864bfa1..c7b5e7e1 100644
--- a/perl/lib/Sys/Guestfs/Lib.pm
+++ b/perl/lib/Sys/Guestfs/Lib.pm
@@ -665,7 +665,7 @@ Operating system distribution. One of: "fedora", "rhel", "centos",
=item package_format
(For Linux root partitions only)
-The package format used by the guest distribution. One of: "rpm", "dpkg".
+The package format used by the guest distribution. One of: "rpm", "deb".
=item package_management
@@ -869,7 +869,7 @@ sub _check_linux_root
$r->{osdistro} = "redhat-based";
}
} elsif ($g->is_file ("/etc/debian_version")) {
- $r->{package_format} = "dpkg";
+ $r->{package_format} = "deb";
$r->{package_management} = "apt";
$_ = $g->cat ("/etc/debian_version");