Skip to content

Commit

Permalink
Fix unary operator.
Browse files Browse the repository at this point in the history
  • Loading branch information
bitbound committed May 14, 2021
1 parent 6657da5 commit 9e901c2
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Server/wwwroot/Content/Install-MacOS-arm64.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ su - $SUDO_USER -c "brew install jq"

if [ -f "/usr/local/bin/Remotely/ConnectionInfo.json" ]; then
SavedGUID=`cat "/usr/local/bin/Remotely/ConnectionInfo.json" | jq -r '.DeviceID'`
if [ -z "$SavedGUID" ]; then
if [[ "$SavedGUID" != "null" && -n "$SavedGUID" ]]; then
GUID="$SavedGUID"
fi
fi
Expand Down
2 changes: 1 addition & 1 deletion Server/wwwroot/Content/Install-MacOS-x64.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ su - $SUDO_USER -c "brew install jq"

if [ -f "/usr/local/bin/Remotely/ConnectionInfo.json" ]; then
SavedGUID=`cat "/usr/local/bin/Remotely/ConnectionInfo.json" | jq -r '.DeviceID'`
if [ -z "$SavedGUID" ]; then
if [[ "$SavedGUID" != "null" && -n "$SavedGUID" ]]; then
GUID="$SavedGUID"
fi
fi
Expand Down
2 changes: 1 addition & 1 deletion Server/wwwroot/Content/Install-Manjaro-x64.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ pacman -S curl --noconfirm

if [ -f "/usr/local/bin/Remotely/ConnectionInfo.json" ]; then
SavedGUID=`cat "/usr/local/bin/Remotely/ConnectionInfo.json" | jq -r '.DeviceID'`
if [ -z "$SavedGUID" ]; then
if [[ "$SavedGUID" != "null" && -n "$SavedGUID" ]]; then
GUID="$SavedGUID"
fi
fi
Expand Down
2 changes: 1 addition & 1 deletion Server/wwwroot/Content/Install-Ubuntu-x64.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ apt-get -y install curl

if [ -f "/usr/local/bin/Remotely/ConnectionInfo.json" ]; then
SavedGUID=`cat "/usr/local/bin/Remotely/ConnectionInfo.json" | jq -r '.DeviceID'`
if [ -z "$SavedGUID" ]; then
if [[ "$SavedGUID" != "null" && -n "$SavedGUID" ]]; then
GUID="$SavedGUID"
fi
fi
Expand Down

0 comments on commit 9e901c2

Please sign in to comment.