Loading run/install.sh +4 −8 Original line number Diff line number Diff line Loading @@ -31,15 +31,9 @@ rm -f "$STORAGE"/"$BASE".agent rm -f "$STORAGE"/"$BASE".boot.img rm -f "$STORAGE"/"$BASE".system.img FS=$(stat -f -c %T "$STORAGE") if [[ "$FS" == "ext"* ]]; then TMP="$STORAGE/tmp" else TMP="/tmp/dsm" fi RDC="$STORAGE/dsm.rd" FS=$(stat -f -c %T "$STORAGE") [[ "$FS" == "ext"* ]] && TMP="$STORAGE/tmp" rm -rf "$TMP" && mkdir -p "$TMP" # Check free diskspace Loading @@ -49,6 +43,8 @@ SPACE=$(df --output=avail -B 1 "$TMP" | tail -n 1) [[ "${DEBUG}" == [Yy1]* ]] && set -x RDC="$STORAGE/dsm.rd" if [ ! -f "${RDC}" ]; then info "Install: Downloading installer..." Loading Loading
run/install.sh +4 −8 Original line number Diff line number Diff line Loading @@ -31,15 +31,9 @@ rm -f "$STORAGE"/"$BASE".agent rm -f "$STORAGE"/"$BASE".boot.img rm -f "$STORAGE"/"$BASE".system.img FS=$(stat -f -c %T "$STORAGE") if [[ "$FS" == "ext"* ]]; then TMP="$STORAGE/tmp" else TMP="/tmp/dsm" fi RDC="$STORAGE/dsm.rd" FS=$(stat -f -c %T "$STORAGE") [[ "$FS" == "ext"* ]] && TMP="$STORAGE/tmp" rm -rf "$TMP" && mkdir -p "$TMP" # Check free diskspace Loading @@ -49,6 +43,8 @@ SPACE=$(df --output=avail -B 1 "$TMP" | tail -n 1) [[ "${DEBUG}" == [Yy1]* ]] && set -x RDC="$STORAGE/dsm.rd" if [ ! -f "${RDC}" ]; then info "Install: Downloading installer..." Loading