summaryrefslogtreecommitdiffstats
path: root/lib/MGA/DrakISO/BuildRoot.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/MGA/DrakISO/BuildRoot.pm')
-rw-r--r--lib/MGA/DrakISO/BuildRoot.pm3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/MGA/DrakISO/BuildRoot.pm b/lib/MGA/DrakISO/BuildRoot.pm
index 85aefab..d1f4531 100644
--- a/lib/MGA/DrakISO/BuildRoot.pm
+++ b/lib/MGA/DrakISO/BuildRoot.pm
@@ -27,7 +27,6 @@ package MGA::DrakISO::BuildRoot;
use strict;
use MDK::Common;
-use common;
use File::Temp qw(tmpnam);
use Try::Tiny;
@@ -178,7 +177,7 @@ sub install_live_system {
or die "ERROR: failed to install base system\n";
# Add the release notes.
- for (qw(release-notes.html release-notes.txt)) {
+ foreach (qw(release-notes.html release-notes.txt)) {
copy_file_to_root($live_root, '', 0644, $arch_repository . '/' . $_);
}