Update 'scripts/glacier'
This commit is contained in:
parent
57505be3a2
commit
4d65c0fb9e
@ -240,18 +240,18 @@ while [[ $# -gt 0 ]]; do
|
|||||||
;;
|
;;
|
||||||
--showDebugInfo)
|
--showDebugInfo)
|
||||||
printf "Glacier v2.2.1\n"
|
printf "Glacier v2.2.1\n"
|
||||||
printf "Checking for viable download backend...\n"
|
printf ":: Checking for viable download backend...\n"
|
||||||
whereis wget
|
whereis wget
|
||||||
whereis curl
|
whereis curl
|
||||||
whereis aria2c
|
whereis aria2c
|
||||||
printf "Checking which download backend is in use...\n"
|
printf ":: Checking which download backend is in use...\n"
|
||||||
echo $GLACIER_DOWNLOAD_BACKEND
|
echo $GLACIER_DOWNLOAD_BACKEND
|
||||||
printf "Checking if all Glacier directories and files are present...\n"
|
printf ":: Checking if all Glacier directories and files are present...\n"
|
||||||
ls /etc | grep glacier
|
ls /etc | grep glacier
|
||||||
ls /etc/glacier
|
ls /etc/glacier
|
||||||
whereis make.conf
|
whereis make.conf
|
||||||
printf "Any missing files above, especially make.conf, will cause Glavier to behave abnormally.\n"
|
printf ":: Any missing files above, especially make.conf, will cause Glavier to behave abnormally.\n"
|
||||||
printf "Checking that unicode symbols display properly...\n"
|
printf ":: Checking that unicode symbols display properly...\n"
|
||||||
printf "$check\n"
|
printf "$check\n"
|
||||||
printf "$error\n"
|
printf "$error\n"
|
||||||
printf "$warning\n"
|
printf "$warning\n"
|
||||||
@ -260,7 +260,7 @@ while [[ $# -gt 0 ]]; do
|
|||||||
printf "$green This is a test.$reset\n"
|
printf "$green This is a test.$reset\n"
|
||||||
printf "$yellow This is a test.$reset\n"
|
printf "$yellow This is a test.$reset\n"
|
||||||
printf "$blue This is a test.$reset\n"
|
printf "$blue This is a test.$reset\n"
|
||||||
printf "Ensuring repositories are correct...\n"
|
printf ":: Ensuring repositories are correct...\n"
|
||||||
echo $GREPO1
|
echo $GREPO1
|
||||||
echo $GREPO2
|
echo $GREPO2
|
||||||
echo $GREPO3
|
echo $GREPO3
|
||||||
@ -269,8 +269,8 @@ while [[ $# -gt 0 ]]; do
|
|||||||
echo $GREPO6
|
echo $GREPO6
|
||||||
echo $GREPO7
|
echo $GREPO7
|
||||||
echo $GREPO8
|
echo $GREPO8
|
||||||
printf "Debug info has been gathered.\n"
|
printf ":: Debug info has been gathered.\n"
|
||||||
printf "If you wish to save this information to a file, run 'glacier --showDebugInfo > glacier.debug'.\n"
|
printf ":: If you wish to save this information to a file, run 'glacier --showDebugInfo > glacier.debug'.\n"
|
||||||
exit 0
|
exit 0
|
||||||
;;
|
;;
|
||||||
-*|--*)
|
-*|--*)
|
||||||
|
Loading…
Reference in New Issue
Block a user