Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Stifler6996/apt-mirror.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStifler <Stifler6996@users.noreply.github.com>2022-07-27 12:53:55 +0300
committerGitHub <noreply@github.com>2022-07-27 12:53:55 +0300
commitbbe6e7b0c3dd906c87a514b49503b7d816676206 (patch)
treea0a8e30e6b1ae8a76dffc543762945d5684ebd67
parent0b8ee3ff4ef4d4db5786df75a6a64c4b7fd4981a (diff)
parentd5f19c8a78ea145f40d4b893dbe46f7626844902 (diff)
Merge pull request #40 from Juuns/patch-1HEADmaster
Fix incorrect range 'apt-mirror'
-rwxr-xr-xapt-mirror3
1 files changed, 2 insertions, 1 deletions
diff --git a/apt-mirror b/apt-mirror
index 4aaed7f..1f2703a 100755
--- a/apt-mirror
+++ b/apt-mirror
@@ -888,7 +888,8 @@ sub need_update
return 1 unless ($size);
return 0 if $size_on_server == $size;
- if ( get_variable("unlink") == 1 ) {
+ if ( get_variable("unlink") == 1 )
+ {
unlink $filename;
}
return 1;