Skip to content

Commit

Permalink
Added --no-check-certificate option to wget command in calculate_vers…
Browse files Browse the repository at this point in the history
…ion_num()

for backwards compatibility with older versions of wget.
Thanks to Bharath for finding that one!
  • Loading branch information
scarygliders committed Sep 27, 2014
1 parent cbb4b3c commit 6c9a6bc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions X11rdp-o-matic.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#
# Version 3.11
#
# Version release date : 20140819
# Version release date : 20140927
########################(yyyyMMDD)
#
# Will run on Debian-based systems only at the moment. RPM based distros perhaps some time in the future...
Expand Down Expand Up @@ -599,7 +599,7 @@ welcome_message()
calculate_version_num()
{
README=https://raw.github.com/neutrinolabs/xrdp/$XRDPBRANCH/readme.txt
wget -O $TMPFILE $README >& /dev/null
wget --no-check-certificate -O $TMPFILE $README >& /dev/null
VERSION=$(grep xrdp $TMPFILE | head -1 | cut -d " " -f2)
rm -f $TMPFILE
if [[ $( echo $XRDPBRANCH | cut -c 1 ) != "v" ]]
Expand Down

0 comments on commit 6c9a6bc

Please sign in to comment.