Permit src.rpm installation to be interrupted
authorPanu Matilainen <pmatilai@redhat.com>
Tue, 9 Oct 2007 12:47:15 +0000 (15:47 +0300)
committerPanu Matilainen <pmatilai@redhat.com>
Tue, 9 Oct 2007 12:47:15 +0000 (15:47 +0300)
lib/rpminstall.c

index 886c357..a6f8d8a 100644 (file)
@@ -651,6 +651,7 @@ maybe_manifest:
     if (eiu->numSRPMS && !stopInstall) {
        if (eiu->sourceURL != NULL)
        for (i = 0; i < eiu->numSRPMS; i++) {
+           rpmdbCheckSignals();
            if (eiu->sourceURL[i] == NULL) continue;
            eiu->fd = Fopen(eiu->sourceURL[i], "r.ufdio");
            if (eiu->fd == NULL || Ferror(eiu->fd)) {