aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS2
-rw-r--r--lib/Iurt/Chroot.pm1
2 files changed, 2 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index eac421b..caff02b 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,5 @@
+- iurt: fix checking if chroot needs updating
+
0.7.4
- iurt: fix getting package name from src.rpm name
diff --git a/lib/Iurt/Chroot.pm b/lib/Iurt/Chroot.pm
index 4b14e1f..480fae4 100644
--- a/lib/Iurt/Chroot.pm
+++ b/lib/Iurt/Chroot.pm
@@ -272,7 +272,6 @@ sub check_mounted {
sub check_chroot_need_update {
my ($tmp_chroot, $run) = @_;
- return 0;
my $tmp_urpmi = mktemp("$tmp_chroot/tmp.XXXXXX");
mkdir_p("$tmp_urpmi/tmp");
my @installed_pkgs = grep { !/^gpg-pubkey/ } chomp_(cat_("$tmp_chroot/var/log/qa"));