From eeac5ed390e268f2b3a31a0377990b1db833cb02 Mon Sep 17 00:00:00 2001 From: Liam Waldron Date: Sat, 23 Jul 2022 16:46:28 -0400 Subject: [PATCH] Update 'scripts/glacier' --- scripts/glacier | 26 ++++++++++++++------------ 1 file changed, 14 insertions(+), 12 deletions(-) diff --git a/scripts/glacier b/scripts/glacier index a6bbb4e..080b354 100644 --- a/scripts/glacier +++ b/scripts/glacier @@ -239,27 +239,27 @@ while [[ $# -gt 0 ]]; do ;; --showDebugInfo) printf "Glacier v2.2\n" - printf "Checking for viable download backend..." + printf "Checking for viable download backend...\n" whereis wget whereis curl whereis aria2c - printf "Checking which download backend is in use..." + printf "Checking which download backend is in use...\n" echo $GLACIER_DOWNLOAD_BACKEND - printf "Checking if all Glacier directories and files are present..." + printf "Checking if all Glacier directories and files are present...\n" ls /etc | grep glacier ls /etc/glacier whereis make.conf - printf "Any missing files above, especially make.conf, will cause Glavier to behave abnormally." - printf "Checking that unicode symbols display properly..." + printf "Any missing files above, especially make.conf, will cause Glavier to behave abnormally.\n" + printf "Checking that unicode symbols display properly...\n" printf "$check" printf "$error" printf "$warning" printf "$question" - printf "$red This is a test.$reset" - printf "$green This is a test.$reset" - printf "$yellow This is a test.$reset" - printf "$blue This is a test.$reset" - printf "Ensuring repositories are correct..." + printf "$red This is a test.$reset\n" + printf "$green This is a test.$reset\n" + printf "$yellow This is a test.$reset\n" + printf "$blue This is a test.$reset\n" + printf "Ensuring repositories are correct...\n" echo $GREPO1 echo $GREPO2 echo $GREPO3 @@ -268,8 +268,10 @@ while [[ $# -gt 0 ]]; do echo $GREPO6 echo $GREPO7 echo $GREPO8 - printf "Debug info has been gathered." - printf "If you wish to save this information to a file, run 'glacier --showDebugInfo > glacier.debug'." + printf "Debug info has been gathered.\n" + printf "If you wish to save this information to a file, run 'glacier --showDebugInfo > glacier.debug'.\n" + exit 0 + ;; -*|--*) printf "$red [ $error ]$reset Unknown option, use 'glacier -h' to see usage.\n" exit 1