fixed some typos, trivial corrections
This commit is contained in:
10
init.sh
10
init.sh
@@ -8,8 +8,8 @@
|
||||
# https://opensource.org/licenses/BSD-3-Clause
|
||||
# ------------------------------------------------------------------------------
|
||||
# Global variables:
|
||||
# * INSTALL_MODE: if dev is declared here, packages will be installed one by
|
||||
# one instead of sending the whole package list to the package manage
|
||||
# * INSTALL_MODE: if "dev" is declared here, packages will be installed one by
|
||||
# one instead of sending the whole package list to the package manager
|
||||
# * LOGFILE: Define manually output log file name. Can be superseeded through
|
||||
# command line parameter. ATTENTION: That variable cannot be set in
|
||||
# configuration file as it is treated before loading those, so it must be
|
||||
@@ -36,7 +36,7 @@ export LC_ALL=C
|
||||
export LANG=C
|
||||
|
||||
# Version of init
|
||||
export VERSION="0.99.11"
|
||||
export VERSION="0.99.12"
|
||||
|
||||
# Store script's path (realpath -s resolve symlinks if init.sh is a symlink)
|
||||
export MYPATH=$(dirname $(realpath -s $0))
|
||||
@@ -124,7 +124,7 @@ load_configuration
|
||||
for prepost in $MYPATH/prepost.d/*.sh; do
|
||||
. $prepost
|
||||
done
|
||||
unset $prepost
|
||||
unset prepost
|
||||
|
||||
process_commandline_and_vars
|
||||
|
||||
@@ -158,7 +158,7 @@ if [[ $CRON_MODE == true ]]; then
|
||||
prnt I "No cron task for module $mod."
|
||||
fi
|
||||
done
|
||||
prnt I "All cron executed successfully !"
|
||||
prnt I "All cron executed successfully!"
|
||||
exit 0
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user