Skip to content

Commit

Permalink
(simatec) Beta v0.8.3
Browse files Browse the repository at this point in the history
  • Loading branch information
simatec committed Jan 19, 2023
1 parent 2a89f3c commit 8b9ecd1
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 7 deletions.
4 changes: 2 additions & 2 deletions install-piler.sh
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ elif [ -f $installPth/.configDone ]; then
for fileUpdate in update.sh README.md; do
echo "${purple}${HLINE}${HLINE_SMALL}"
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
done
Expand Down Expand Up @@ -425,7 +425,7 @@ cat >> $etcPth/config-site.php <<EOF
include('auth-mailcow.php');
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

# add config settings
Expand Down
17 changes: 12 additions & 5 deletions update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ else
normal=`echo -en "\e[0m"`
fi

HLINE="=================================================================="
HLINE_SMALL="==============================="
HLINE="================================================================"
HLINE_SMALL="================================="

BLA_metro=( 0.2 ' ' '= ' '== ' '=== ' ' ===' ' ==' ' =' )

Expand Down Expand Up @@ -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
for bin in curl docker git; do
Expand Down Expand Up @@ -125,7 +132,7 @@ for ymlUpdate in piler-default.yml piler-ssl.yml; do
echo
echo "${purple}${HLINE}${HLINE_SMALL}"
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
done
Expand All @@ -134,7 +141,7 @@ for fileUpdate in install-piler.sh LICENSE piler.conf.example; do
echo
echo "${purple}${HLINE}${HLINE_SMALL}"
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
done
Expand Down Expand Up @@ -277,7 +284,7 @@ cat >> $etcPth/config-site.php <<EOF
include('auth-mailcow.php');
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

# add config settings
Expand Down

0 comments on commit 8b9ecd1

Please sign in to comment.