From b0613e5d318e29ec999594f521c7e8b54e75b818 Mon Sep 17 00:00:00 2001 From: aclist Date: Sat, 8 Oct 2022 14:16:09 +0900 Subject: [PATCH] Print staging dir later in process --- helpers/scmd.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/helpers/scmd.sh b/helpers/scmd.sh index 514430b..f7f7baf 100644 --- a/helpers/scmd.sh +++ b/helpers/scmd.sh @@ -99,6 +99,7 @@ auto_mod_download(){ [[ ${#ids[@]} -gt 1 ]] && s=s tput cnorm test_dir + log "Staging dir is $staging_dir" steamcmd_modlist > "/tmp/mods.txt" log "Preparing to download ${#ids[@]} mod$s. This may take some time. Abort with Ctrl+c." if [[ $dist == "steamos" ]]; then @@ -216,7 +217,6 @@ deck_install(){ pacman -Qi lib32-gcc-libs 2>/dev/null 1>&2 rc=$? [[ ! $rc -eq 0 ]] && return 1 - test_dir if [[ ! -f $HOME/.local/share/dzgui/helpers/steamcmd ]]; then local tarball="steamcmd_linux.tar.gz" mkdir -p $HOME/.local/share/dzgui/helpers/steamcmd @@ -306,7 +306,6 @@ abort(){ exit } check_disks(){ - log "Staging dir is $staging_dir" disksize=$(df $staging_dir --output=avail | tail -n1) disk_bytewise=$((disksize * 1024)) hr=$(echo $(numfmt --to=iec --format "%.2f" $totalmodsize $disk_bytewise) | sed 's/ /\//')