diff --git a/protogeni/scripts/getcacerts.in b/protogeni/scripts/getcacerts.in index 4b73358e74eedb85ae60bf1f8e677720d5ea9a24..8036a0dab8dd594cf127acfdebe9631b74c07dad 100755 --- a/protogeni/scripts/getcacerts.in +++ b/protogeni/scripts/getcacerts.in @@ -195,6 +195,10 @@ if ($?) { $restartapache = 1; } +unlink("/tmp/genica.bundle.$$") + if (-e "/tmp/genica.bundle.$$"); +system("/bin/rm -rf /tmp/genicacerts.$$") + if (-e "/tmp/genicacerts.$$"); # # Prepend the local/latest CRL with what we got from Utah. @@ -220,6 +224,8 @@ if ($?) { $restartapache = 1; } +unlink("/tmp/genicrl.bundle.$$") + if (-e "/tmp/genicrl.bundle.$$"); if ($restartapache) { system("$APACHE_START restart") == 0