Skip to content

Commit

Permalink
Issue #1057: updated code comments
Browse files Browse the repository at this point in the history
  • Loading branch information
bschmalhofer committed Sep 30, 2021
1 parent 41b80c1 commit 1d98ec6
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions bin/otobo.CheckModules.pl
Original file line number Diff line number Diff line change
Expand Up @@ -87,13 +87,13 @@ =head1 DESCRIPTION
# UseModule => 1/0,
# }
# Set UseModule to 1 if you want to use the
# cpan module name of the package as replace string.
# CPAN module name of the package as replace string.
# e.g. yum install "perl(Date::Format)"
# If you set it 0 it will use the name
# for the InstType of the module
# e.g. apt-get install -y libtimedate-perl
# and as fallback the default cpan install command
# e.g. cpan DBD::Oracle
# and as fallback the default CPAN install command
# e.g. cpanm DBD::Oracle
aptget => {
CMD => 'apt-get install -y %s',
UseModule => 0,
Expand Down Expand Up @@ -1500,8 +1500,8 @@ sub GetInstallCommand {

# gets the install command for installation type
# e.g. ppm install %s
# default is the cpan install command
# e.g. cpan %s
# default is the CPAN install command
# e.g. cpanm %s
$CMD = $InstTypeToCMD{$InstType}->{CMD};
$SubCMD = $InstTypeToCMD{$InstType}->{SubCMD};

Expand All @@ -1517,7 +1517,7 @@ sub GetInstallCommand {
}
elsif ( $InstTypeToCMD{$InstType}->{UseModule} ) {

# default is the cpan module name
# default is the CPAN module name
$Package = $Module->{Module};
}
else {
Expand Down

0 comments on commit 1d98ec6

Please sign in to comment.