Browse Source

fastdl ui

feature/dst-changes
Daniel Gibbs 6 months ago
parent
commit
9f1e92f4cf
No known key found for this signature in database GPG Key ID: 2076B128385E8C55
  1. 8
      lgsm/modules/command_fastdl.sh

8
lgsm/modules/command_fastdl.sh

@ -164,7 +164,7 @@ fn_fastdl_preview() {
if [ ${fileswc} != 0 ]; then
fn_print_ok_eol_nl
else
fn_print_info_eol_nl
fn_print_skip_eol_nl
fi
done
# Source engine
@ -225,8 +225,8 @@ fn_fastdl_preview() {
fn_script_log_fail "Generating file list."
core_exit.sh
fi
fn_print_nl "about to compress ${totalfiles} files, total size $(fn_human_readable_file_size ${filesizetotal} 0)"
fn_script_log_info "${totalfiles} files, total size $(fn_human_readable_file_size ${filesizetotal} 0)"
fn_print_nl "about to compress ${totalfiles} files, total size $(fn_human_readable_file_size "${filesizetotal}" 0)"
fn_script_log_info "${totalfiles} files, total size $(fn_human_readable_file_size "${filesizetotal}" 0)"
rm -f "${tmpdir:?}/fastdl_files_to_compress.txt"
if ! fn_prompt_yn "Continue?" Y; then
fn_script_log "User exited"
@ -411,7 +411,7 @@ fn_fastdl_gmod_dl_enforcer() {
# Compresses Fastdl files using bzip2.
fn_fastdl_bzip2() {
while read -r filetocompress; do
fn_print "\r\033[Kcompressing ${filetocompress}"
fn_print "compressing ${filetocompress}"
bzip2 -f "${filetocompress}"
exitcode=$?
if [ "${exitcode}" != 0 ]; then

Loading…
Cancel
Save