summaryrefslogtreecommitdiffstats
path: root/perl-install/common.pm
diff options
context:
space:
mode:
authorThierry.Vignaud <thierry.vignaud@gmail.com>2014-05-27 22:03:55 +0200
committerThierry Vignaud <thierry.vignaud@gmail.com>2014-05-27 22:07:18 +0200
commita4e46a78d26a05957100cd360b07cd69d13037b0 (patch)
tree8f52a00f444a30d01f90bfac0e879160fdb778e8 /perl-install/common.pm
parentbbecf42e9490e4857a7c49e905ae736ae4c15e72 (diff)
downloaddrakx-a4e46a78d26a05957100cd360b07cd69d13037b0.tar
drakx-a4e46a78d26a05957100cd360b07cd69d13037b0.tar.gz
drakx-a4e46a78d26a05957100cd360b07cd69d13037b0.tar.bz2
drakx-a4e46a78d26a05957100cd360b07cd69d13037b0.tar.xz
drakx-a4e46a78d26a05957100cd360b07cd69d13037b0.zip
typo fixes
Diffstat (limited to 'perl-install/common.pm')
-rw-r--r--perl-install/common.pm8
1 files changed, 4 insertions, 4 deletions
diff --git a/perl-install/common.pm b/perl-install/common.pm
index 3945f54ce..226bc0440 100644
--- a/perl-install/common.pm
+++ b/perl-install/common.pm
@@ -250,7 +250,7 @@ The reverse of C<removeXiBSuffix()>, returns a nicely human size. eg:
2097152 => "2MB"
-The optional parameter enables to presize the unit size (default is one).
+The optional parameter enables to provide the unit size (default is one).
eg for a 2000 512 sized sectors:
formatXiB(2000, 512)
@@ -331,7 +331,7 @@ sub formatError {
=item group_by($f, @list)
-Group the elements of @list in array references according to the $f comparaison function.
+Group the elements of @list in array references according to the $f comparison function.
=cut
@@ -368,7 +368,7 @@ sub group_n_lm {
=item join_lines(@strings)
-Concat adjacent strings if laters begin with spaces.
+Concatenate adjacent strings if laters begin with spaces.
=cut
@@ -396,7 +396,7 @@ sub read_alternative {
sub set_alternative {
my ($command, $executable) = @_;
- #- check the existance of $executable as an alternative for $command
+ #- check the existence of $executable as an alternative for $command
#- (is this needed???)
run_program::rooted_get_stdout($::prefix, 'update-alternatives', '--display', $command) =~ /^\Q$executable /m or return;