Update 'scripts/glacier'

This commit is contained in:
Liam Waldron 2022-07-23 16:46:28 -04:00
parent b5faa209f2
commit eeac5ed390

View File

@ -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