Skip to content

Commit 87cbe1f

Browse files
committed
Update comments to better reflect code
1 parent 2831062 commit 87cbe1f

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

postfixadmin-installer

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ use Digest::SHA qw/sha1_hex/;
2121
use Term::ANSIColor;
2222
use Getopt::Long qw/:config auto_version/;
2323

24-
# Check OS release and dovecot availablity.
24+
# Check OS release
2525
my $pfa_os_release = 'other_noissue';
2626
if ( -f "/etc/issue" ) {
2727
if (`grep "Linux 8" /etc/issue`) { $pfa_os_release = 'jessie'; }
@@ -36,12 +36,13 @@ if ( $pfa_os_release == 'jessie' ) { $dovecot_package_name = 'dovecot-core'; }
3636
my $postfixadminDir = "/var/www/postfixadmin";
3737
if ( $pfa_os_release == "jessie") { $postfixadminDir = "/var/www/html/postfixadmin"; }
3838

39+
# Check dovecot availability
3940
if(availableDovecotVersion() !~ /^2\./){
4041
print STDERR "This script will not work on versions of Dovecot other than 2.x (you have ".availableDovecotVersion().")\nExiting.\n";
4142
exit 1;
4243
}
4344

44-
45+
# Config starts here
4546
our $VERSION = "0.20160423 (Jessie; Dovecot 2.x)";
4647

4748
my $f_log = '/tmp/postfixadmin-installer.log';

0 commit comments

Comments
 (0)