summaryrefslogtreecommitdiff
path: root/examples/p5solv
diff options
context:
space:
mode:
authorMichael Schroeder <mls@suse.de>2012-11-16 12:00:09 +0100
committerMichael Schroeder <mls@suse.de>2012-11-16 12:00:09 +0100
commitff2c015c82e527f4af2dcb7b41a4d7f25d9ec4e0 (patch)
tree754ea4a6bd070d513743076fffb78ff1ddcd302e /examples/p5solv
parentb360c3cdfece6f4a8efc957d55fdc3a378031822 (diff)
downloadlibsolv-ff2c015c82e527f4af2dcb7b41a4d7f25d9ec4e0.tar.gz
libsolv-ff2c015c82e527f4af2dcb7b41a4d7f25d9ec4e0.tar.bz2
libsolv-ff2c015c82e527f4af2dcb7b41a4d7f25d9ec4e0.zip
don't write incomplete repos in "solv", like with py/rb/p5solv
Diffstat (limited to 'examples/p5solv')
-rwxr-xr-xexamples/p5solv2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/p5solv b/examples/p5solv
index a5b270d..8a63631 100755
--- a/examples/p5solv
+++ b/examples/p5solv
@@ -147,7 +147,7 @@ sub usecachedrepo {
sub writecachedrepo {
my ($self, $ext, $info) = @_;
- return if $self->{'incomplete'} && !$ext;
+ return if $self->{'incomplete'};
mkdir("/var/cache/solv", 0755) unless -d "/var/cache/solv";
my ($f, $tmpname);
eval {