Skip to content

Commit

Permalink
HotFix
Browse files Browse the repository at this point in the history
Installer Issues
  • Loading branch information
QROkes committed Jul 15, 2019
1 parent 1ae750f commit 8c5000c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/general
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

readonly app_version="1.8.2"
readonly app_version="1.8.3"
readonly svr_version="1.3"
readonly os_ubuntu_supported=(xenial bionic)
readonly php_supported=(7.1 7.2 7.3)
Expand Down
3 changes: 1 addition & 2 deletions weby
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,7 @@ fi
# Prevent "compulsive" re-installation if you currently have the latest version installed.
checkver=$(wget --timeout=10 -t 1 -qO- https://api.webinoly.com/check?text=true)
if [[ -a /opt/webinoly/webinoly.conf && $2 != "-ver=beta" && $2 != "-ver=alpha" ]]; then
source /opt/webinoly/lib/general
currentver=$(conf_read app-version)
currentver=$(grep -w "^app-version:.*" /opt/webinoly/webinoly.conf | cut -f 2 -d ':')

if [[ -n $checkver && -n $currentver && ${checkver//.} -le ${currentver//.} ]]; then
echo "${gre}You currently have the latest version!${end}"
Expand Down

0 comments on commit 8c5000c

Please sign in to comment.