Skip to content

Commit

Permalink
Fixes #1800: Restyaboard installation script file issue fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
saravanan477 committed May 27, 2019
1 parent 2d2baf3 commit bd9ff8f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
14 changes: 7 additions & 7 deletions restyaboard.sh
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@
APACHE_DISABLED=1
fi
fi
echo -e "A newer version ${RESTYABOARD_VERSION} of Restyaboard is available.\n\nImportant: Please note that upgrading will remove any commercial apps that were free in previous version.\nFor more details about commercial apps, please visit http://restya.com/board/pricing\n\nDo you want to get it now y/n?"
echo -e "A newer version ${RESTYABOARD_VERSION} of Restyaboard is available.\n\nImportant: Please note that upgrading will remove any commercial apps that were free in previous version.\nFor more details about commercial apps, please visit https://restya.com/board/pricing\n\nDo you want to get it now y/n?"
read -r answer
set -x
case "${answer}" in
Expand All @@ -265,7 +265,7 @@
set -x

echo "Downloading files..."
curl -v -L -G -d "app=board&ver=${RESTYABOARD_VERSION}" -o /tmp/restyaboard.zip http://restya.com/download.php
curl -v -L -G -d "app=board&ver=${RESTYABOARD_VERSION}" -o /tmp/restyaboard.zip https://restya.com/download.php
unzip /tmp/restyaboard.zip -d ${DOWNLOAD_DIR}

echo "Updating files..."
Expand Down Expand Up @@ -774,7 +774,7 @@
echo "Downloading Restyaboard script..."
apt install -y curl
mkdir ${DOWNLOAD_DIR}
curl -v -L -G -d "app=board&ver=${RESTYABOARD_VERSION}" -o /tmp/restyaboard.zip http://restya.com/download.php
curl -v -L -G -d "app=board&ver=${RESTYABOARD_VERSION}" -o /tmp/restyaboard.zip https://restya.com/download.php
unzip /tmp/restyaboard.zip -d ${DOWNLOAD_DIR}
rm /tmp/restyaboard.zip

Expand Down Expand Up @@ -1307,7 +1307,7 @@

echo "Downloading Restyaboard script..."
mkdir ${DOWNLOAD_DIR}
curl -v -L -G -d "app=board&ver=${RESTYABOARD_VERSION}" -o /tmp/restyaboard.zip http://restya.com/download.php
curl -v -L -G -d "app=board&ver=${RESTYABOARD_VERSION}" -o /tmp/restyaboard.zip https://restya.com/download.php
unzip /tmp/restyaboard.zip -d ${DOWNLOAD_DIR}
rm /tmp/restyaboard.zip
if [ ${APACHE_ENABLED} -eq 0 ]
Expand Down Expand Up @@ -1566,7 +1566,7 @@
echo "Note: PHP Mailer will not work in Azure. Kindly use external SMTP mail server."
fi
set +x
curl -v -L -G -d "app=board&os=${os}&version=${version}" "http://restya.com/success_installation.php"
curl -v -L -G -d "app=board&os=${os}&version=${version}" "https://restya.com/success_installation.php"
echo "Restyaboard URL : $webdir"

echo "Login with username admin and password restya"
Expand All @@ -1575,7 +1575,7 @@
main
error=$?
os=$(lsb_release -i -s)
curl -v -L -G -d "app=board&os=${os}&error=${error}" "http://restya.com/error_installation.php"
echo "If you're finding it difficult to install Restyaboard from your end, we do also offer free installation support that you may consider http://restya.com/contact?category=free-installation"
curl -v -L -G -d "app=board&os=${os}&error=${error}" "https://restya.com/error_installation.php"
echo "If you're finding it difficult to install Restyaboard from your end, we do also offer free installation support that you may consider https://restya.com/contact?category=free-installation"
exit 1
} 2>&1 | tee -a restyaboard_install.log
2 changes: 1 addition & 1 deletion restyaboard_uninstall.sh
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
read -r -p "Enter the reason for uninstalling the Restyaboard:" reason
done

curl -v -L -G -d "app=board&ver=${version}&reason=${reason}&os=${OS_REQUIREMENT}" "http://restya.com/uninstall.php"
curl -v -L -G -d "app=board&ver=${version}&reason=${reason}&os=${OS_REQUIREMENT}" "https://restya.com/uninstall.php"

set +x
echo "Enter your document root (where your Restyaboard was installed. e.g., /usr/share/nginx/html/restyaboard):"
Expand Down

0 comments on commit bd9ff8f

Please sign in to comment.