(simatec) Beta v0.8.3

This commit is contained in:
simatec 2023-01-19 10:26:11 +01:00
parent 2a89f3c9f1
commit 8b9ecd1ccf
2 changed files with 14 additions and 7 deletions

View file

@ -235,7 +235,7 @@ elif [ -f $installPth/.configDone ]; then
for fileUpdate in update.sh README.md; do for fileUpdate in update.sh README.md; do
echo "${purple}${HLINE}${HLINE_SMALL}" echo "${purple}${HLINE}${HLINE_SMALL}"
echo "${purple}****** Download Update $fileUpdate ******" echo "${purple}****** Download Update $fileUpdate ******"
curl -o -f $installPth/$fileUpdate https://raw.githubusercontent.com/simatec/piler-docker/main/$fileUpdate curl -o $installPth/$fileUpdate https://raw.githubusercontent.com/simatec/piler-docker/main/$fileUpdate
echo "${purple}${HLINE}${HLINE_SMALL}${normal}" echo "${purple}${HLINE}${HLINE_SMALL}${normal}"
echo echo
done done
@ -425,7 +425,7 @@ cat >> $etcPth/config-site.php <<EOF
include('auth-mailcow.php'); include('auth-mailcow.php');
EOF EOF
curl -o -f $etcPth/auth-mailcow.php https://raw.githubusercontent.com/patschi/mailpiler-mailcow-integration/master/auth-mailcow.php curl -o $etcPth/auth-mailcow.php https://raw.githubusercontent.com/patschi/mailpiler-mailcow-integration/master/auth-mailcow.php
fi fi
# add config settings # add config settings

View file

@ -20,8 +20,8 @@ else
normal=`echo -en "\e[0m"` normal=`echo -en "\e[0m"`
fi fi
HLINE="==================================================================" HLINE="================================================================"
HLINE_SMALL="===============================" HLINE_SMALL="================================="
BLA_metro=( 0.2 ' ' '= ' '== ' '=== ' ' ===' ' ==' ' =' ) BLA_metro=( 0.2 ' ' '= ' '== ' '=== ' ' ===' ' ==' ' =' )
@ -51,6 +51,13 @@ BLA::stop_loading_animation() {
####################################################################################### #######################################################################################
echo
echo "${greenBold}${HLINE_SMALL}"
echo "Welcome to Piler-Docker Updater"
echo "${greenBold}${HLINE_SMALL}${normal}"
echo
#######################################################################################
# App Check # App Check
for bin in curl docker git; do for bin in curl docker git; do
@ -125,7 +132,7 @@ for ymlUpdate in piler-default.yml piler-ssl.yml; do
echo echo
echo "${purple}${HLINE}${HLINE_SMALL}" echo "${purple}${HLINE}${HLINE_SMALL}"
echo "${purple}****** Download Update $ymlUpdate ******" echo "${purple}****** Download Update $ymlUpdate ******"
curl -o -f $configPth/$ymlUpdate https://raw.githubusercontent.com/simatec/piler-docker/main/config/$ymlUpdate curl -o $configPth/$ymlUpdate https://raw.githubusercontent.com/simatec/piler-docker/main/config/$ymlUpdate
echo "${purple}${HLINE}${HLINE_SMALL}${normal}" echo "${purple}${HLINE}${HLINE_SMALL}${normal}"
echo echo
done done
@ -134,7 +141,7 @@ for fileUpdate in install-piler.sh LICENSE piler.conf.example; do
echo echo
echo "${purple}${HLINE}${HLINE_SMALL}" echo "${purple}${HLINE}${HLINE_SMALL}"
echo "${purple}****** Download Update $fileUpdate ******" echo "${purple}****** Download Update $fileUpdate ******"
curl -o -f $installPth/$fileUpdate https://raw.githubusercontent.com/simatec/piler-docker/main/$fileUpdate curl -o $installPth/$fileUpdate https://raw.githubusercontent.com/simatec/piler-docker/main/$fileUpdate
echo "${purple}${HLINE}${HLINE_SMALL}${normal}" echo "${purple}${HLINE}${HLINE_SMALL}${normal}"
echo echo
done done
@ -277,7 +284,7 @@ cat >> $etcPth/config-site.php <<EOF
include('auth-mailcow.php'); include('auth-mailcow.php');
EOF EOF
curl -o -f $etcPth/auth-mailcow.php https://raw.githubusercontent.com/patschi/mailpiler-mailcow-integration/master/auth-mailcow.php curl -o $etcPth/auth-mailcow.php https://raw.githubusercontent.com/patschi/mailpiler-mailcow-integration/master/auth-mailcow.php
fi fi
# add config settings # add config settings