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:
authorBenjamin Drung <bdrung@debian.org>2014-01-31 02:12:56 +0400
committerBenjamin Drung <bdrung@debian.org>2014-01-31 02:12:56 +0400
commit607f2484f1c32aed35062c3e1327f3601edef326 (patch)
tree3fb95f2c5c88cced03b33251d15a17f759bcd528
parentf7254b8917c1c3b12a77861902a71c9267f13640 (diff)
Spelling and grammar improvements
Thanks to Vincent McIntyre <vincent.mcintyre@csiro.au> for the patch.
-rwxr-xr-xapt-mirror36
1 files changed, 18 insertions, 18 deletions
diff --git a/apt-mirror b/apt-mirror
index 989561c..f565164 100755
--- a/apt-mirror
+++ b/apt-mirror
@@ -16,12 +16,12 @@ A small and efficient tool that lets you mirror a part of or
the whole Debian GNU/Linux distribution or any other apt sources.
Main features:
- * It uses a config similar to apts F<sources.list>
- * It's fully pool comply
+ * It uses a config similar to APT's F<sources.list>
+ * It's fully pool compliant
* It supports multithreaded downloading
* It supports multiple architectures at the same time
* It can automatically remove unneeded files
- * It works well on overloaded channel to Internet
+ * It works well on an overloaded Internet connection
* It never produces an inconsistent mirror including while mirroring
* It works on all POSIX compliant systems with Perl and wget
@@ -35,7 +35,7 @@ After you setup the configuration file you may run as root:
# su - apt-mirror -c apt-mirror
-Or uncomment line in F</etc/cron.d/apt-mirror> to enable daily mirror updates.
+Or uncomment the line in F</etc/cron.d/apt-mirror> to enable daily mirror updates.
=head1 FILES
@@ -52,17 +52,17 @@ F</var/spool/apt-mirror/skel>
Place for temporarily downloaded indexes
F</var/spool/apt-mirror/var>
- Log files placed here. URLs and MD5 sums also here.
+ Log files placed here. URLs and MD5 checksums also here.
=head1 CONFIGURATION EXAMPLES
The mirror.list configuration supports many options, the file is well commented explaining each option.
-here are some sample mirror configuration lines showing the various supported ways :
+Here are some sample mirror configuration lines showing the various supported ways:
Normal:
deb http://example.com/debian stable main contrib non-free
-Arch Specific: ( many other arch's are supported )
+Arch Specific: (many other architectures are supported)
deb-powerpc http://example.com/debian stable main contrib non-free
HTTP and FTP Auth or non-standard port:
@@ -506,7 +506,7 @@ sub find_translation_files_in_release
}
}
-sub proceed_translation_index
+sub process_translation_index
{
# Extract all translation files from the dists/$DIST/$COMPONENT/i18n/Index
# file. Fall back to parsing dists/$DIST/Release if i18n/Index is not found.
@@ -561,7 +561,7 @@ sub proceed_translation_index
close STREAM;
}
-print "Proceed tranlation indexes: [";
+print "Processing tranlation indexes: [";
foreach (@config_binaries)
{
@@ -574,7 +574,7 @@ foreach (@config_binaries)
my $component;
foreach $component (@components)
{
- proceed_translation_index( $url, $component );
+ process_translation_index( $url, $component );
}
}
}
@@ -592,7 +592,7 @@ foreach ( keys %urls_to_download )
}
######################################################################################
-## Main download preparation
+## Main download preparations
%urls_to_download = ();
@@ -640,7 +640,7 @@ sub remove_spaces($)
}
}
-sub proceed_index_gz
+sub process_index_gz
{
my $uri = shift;
my $index = shift;
@@ -657,7 +657,7 @@ sub proceed_index_gz
unless ( open STREAM, "<$path/$index" )
{
- warn("apt-mirror: can't open index in proceed_index_gz");
+ warn("apt-mirror: can't open index in process_index_gz");
return;
}
@@ -704,7 +704,7 @@ sub proceed_index_gz
close STREAM;
}
-print "Proceed indexes: [";
+print "Processing indexes: [";
foreach (@config_sources)
{
@@ -715,12 +715,12 @@ foreach (@config_sources)
my $component;
foreach $component (@components)
{
- proceed_index_gz( $uri, "/dists/$distribution/$component/source/Sources.gz" );
+ process_index_gz( $uri, "/dists/$distribution/$component/source/Sources.gz" );
}
}
else
{
- proceed_index_gz( $uri, "/$distribution/Sources.gz" );
+ process_index_gz( $uri, "/$distribution/Sources.gz" );
}
}
@@ -733,12 +733,12 @@ foreach (@config_binaries)
my $component;
foreach $component (@components)
{
- proceed_index_gz( $uri, "/dists/$distribution/$component/binary-$arch/Packages.gz" );
+ process_index_gz( $uri, "/dists/$distribution/$component/binary-$arch/Packages.gz" );
}
}
else
{
- proceed_index_gz( $uri, "/$distribution/Packages.gz" );
+ process_index_gz( $uri, "/$distribution/Packages.gz" );
}
}