summaryrefslogtreecommitdiffstats
path: root/lib/MGA/DrakISO/BuildRoot.pm
diff options
context:
space:
mode:
authorMartin Whitaker <mageia@martin-whitaker.me.uk>2018-01-14 13:32:09 +0000
committerMartin Whitaker <mageia@martin-whitaker.me.uk>2018-01-14 22:41:45 +0000
commitdab0679980e89cbcc337bc418b9530633cca8a3f (patch)
treec83ed113dde3d26358ae0dc8d3c66ea140031e58 /lib/MGA/DrakISO/BuildRoot.pm
parenta2123c15a7551b1824d58b2fbe7b1dc1edf12f59 (diff)
downloaddrakiso-dab0679980e89cbcc337bc418b9530633cca8a3f.tar
drakiso-dab0679980e89cbcc337bc418b9530633cca8a3f.tar.gz
drakiso-dab0679980e89cbcc337bc418b9530633cca8a3f.tar.bz2
drakiso-dab0679980e89cbcc337bc418b9530633cca8a3f.tar.xz
drakiso-dab0679980e89cbcc337bc418b9530633cca8a3f.zip
Fix/improve a few comments.
Diffstat (limited to 'lib/MGA/DrakISO/BuildRoot.pm')
-rw-r--r--lib/MGA/DrakISO/BuildRoot.pm8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/MGA/DrakISO/BuildRoot.pm b/lib/MGA/DrakISO/BuildRoot.pm
index cc47bd1..4a7cfe0 100644
--- a/lib/MGA/DrakISO/BuildRoot.pm
+++ b/lib/MGA/DrakISO/BuildRoot.pm
@@ -160,7 +160,7 @@ sub install_live_system {
}
}
- # Run the installer. The chroot command sets up a new environment,
+ # Run the installer. The sudo command sets up a new environment,
# so we need to set the variables we want after we've entered the
# chroot.
my $env = join(' ',
@@ -400,8 +400,8 @@ sub build_local_repo {
# For each requested package in turn, find any dependencies that aren't
# already installed and add them to our hash of selected packages. Do
- # this for each package separately, because some of the requested packages
- # may conflict.
+ # this for each package separately, in case some of the requested packages
+ # conflict.
my $error;
my %selected;
foreach my $name (@$requested_packages) {
@@ -428,7 +428,7 @@ sub build_local_repo {
# Find the URLs for the selected RPMs and copy them to the appropriate
# media directory. Note that in the local repository there is only a
# single medium for each class, so we ignore the source media type.
- # Record the classes we find so we know what hdlists we need.
+ # Record the media classes we find so we know what hdlists we need.
my %classes;
my @selected_packages = @{$urpm->{depslist}}[keys %selected];
foreach my $pkg (@selected_packages) {