diff --git a/install/mysql.sh b/install/mysql.sh index 00a43ca9..24a23a87 100755 --- a/install/mysql.sh +++ b/install/mysql.sh @@ -117,7 +117,7 @@ EOF fi # create a sed script to create/update the file -function set_value() { +set_value() { var=$1 RET=$2 grep -Eq "^ *$var=" $MYSQL_CONFIG || echo "$var=" >> $MYSQL_CONFIG diff --git a/src/fixperms.sh b/src/fixperms.sh index 32b6a4d0..e7ccd352 100755 --- a/src/fixperms.sh +++ b/src/fixperms.sh @@ -47,7 +47,7 @@ fi . "$CONFIG_FILE" -function doone { +doone { read GID LOGIN while [ "$LOGIN" ] do diff --git a/src/sqlbackup.sh b/src/sqlbackup.sh index bf51cd31..10dd012a 100755 --- a/src/sqlbackup.sh +++ b/src/sqlbackup.sh @@ -29,7 +29,7 @@ set -e -function dobck { +dobck { local ext local i local old_ifs diff --git a/tools/top_ftp_users b/tools/top_ftp_users index ff802e8e..7234ed21 100755 --- a/tools/top_ftp_users +++ b/tools/top_ftp_users @@ -74,7 +74,7 @@ done #------------------------- -function set_messages +set_messages #------------------------- { # Language-dependent messages @@ -95,7 +95,7 @@ function set_messages #------------------------- -function trap_EXIT +trap_EXIT #------------------------- { # Does some cleaning diff --git a/tools/top_http_users b/tools/top_http_users index 8fae4db9..f5e62fba 100755 --- a/tools/top_http_users +++ b/tools/top_http_users @@ -74,7 +74,7 @@ done #------------------------- -function set_messages +set_messages #------------------------- { # Language-dependent messages @@ -106,7 +106,7 @@ function set_messages #------------------------- -function trap_EXIT +trap_EXIT #------------------------- { # Does some cleaning diff --git a/tools/top_mysql_users b/tools/top_mysql_users index 8cffa7e1..61f325fe 100755 --- a/tools/top_mysql_users +++ b/tools/top_mysql_users @@ -73,7 +73,7 @@ done #------------------------- -function set_messages +set_messages #------------------------- { # Language-dependent messages @@ -93,7 +93,7 @@ function set_messages #------------------------- -function trap_EXIT +trap_EXIT #------------------------- { # Does some cleaning