Fix bash compat issues

develop
lethosor 2018-02-04 02:13:20 -05:00
parent 4aa0990dc7
commit 2de28d4357
1 changed files with 2 additions and 2 deletions

@ -12,8 +12,8 @@ echo "DF_FOLDER: $DF_FOLDER"
mkdir -p "$DF_FOLDER"
cd "$DF_FOLDER"
if [[ -f receipt ]]; then
if [[ "$selfmd5" != "$(cat receipt)" ]]; then
if [ -f receipt ]; then
if [ "$selfmd5" != "$(cat receipt)" ]; then
echo "download-df.sh changed; removing DF"
else
echo "Already downloaded $DF_VERSION"