refactor: tweak repo file and settings
Signed-off-by: Dominik Willner th33xitus@gmail.com
This commit is contained in:
@@ -1,12 +1,11 @@
|
||||
##############################################################
|
||||
## DO NOT REMOVE OR EDIT THIS COMMENT BLOCK! ##
|
||||
## ##
|
||||
## Always add the URL and branch in this form: ##
|
||||
## Always add the URL and branch in a pattern like this: ##
|
||||
## <URL>,<branch> ##
|
||||
## Example: ##
|
||||
## https://github.com/Klipper3d/klipper,master ##
|
||||
## E.g.: https://github.com/Klipper3d/klipper,master ##
|
||||
## ##
|
||||
## A wrong format will cause issues! You have been warned! ##
|
||||
## A wrong format will cause problems! ##
|
||||
## Do NOT insert blank lines. Only add one entry per line! ##
|
||||
##############################################################
|
||||
##~~~~~ Add the custom repositories below this line ~~~~~~~~##
|
||||
##~~~~~ Add the custom repositories below THIS line ~~~~~~~~##
|
||||
https://github.com/Klipper3d/klipper,master
|
||||
|
||||
@@ -87,7 +87,7 @@ function get_klipper_repo_list(){
|
||||
col1=${yellow}${col1}${white}
|
||||
printf "| ${i}) %s → %-31s|\n" "${col1}" "${col2}"
|
||||
i=$((i+1))
|
||||
done < <(grep "" "${repo_file}" | tail -n "+12")
|
||||
done < <(grep "" "${repo_file}" | tail -n "+11")
|
||||
}
|
||||
|
||||
function switch_klipper_repo(){
|
||||
@@ -114,8 +114,6 @@ function show_custom_klipper_repo_help(){
|
||||
echo -e "| root folder. You can add as many additional repos as | "
|
||||
echo -e "| you wish. Make sure to always add URL ${red}and${white} branch! | "
|
||||
blank_line
|
||||
echo -e "| Default: ${red}none${white} |"
|
||||
blank_line
|
||||
back_footer
|
||||
while true; do
|
||||
read -p "${cyan}###### Please select:${white} " choice
|
||||
|
||||
Reference in New Issue
Block a user