mirror of
https://github.com/ff4500/utilities.git
synced 2026-07-01 11:47:04 -05:00
Update functions.sh
This commit is contained in:
@@ -131,6 +131,7 @@ check_ex(){
|
|||||||
line_2 "Making the ${bg_aqua} _src ${reset} dir and an empty list now. \c"; sleep 1; cmd_inline "touch ${repo_list}"
|
line_2 "Making the ${bg_aqua} _src ${reset} dir and an empty list now. \c"; sleep 1; cmd_inline "touch ${repo_list}"
|
||||||
echo; sleep 1
|
echo; sleep 1
|
||||||
mkdir ${base_dir}/_src && touch ${repo_list}
|
mkdir ${base_dir}/_src && touch ${repo_list}
|
||||||
|
# see https://unix.stackexchange.com/questions/256144/read-a-file-line-by-line-and-if-condition-is-met-continue-reading-till-next-cond
|
||||||
# mkdir ${base_dir}/_src; echo -e "# put the URL for your repo(s) here.\n# ex: https://github.com/youruser/yourrepo.git\n" > ${repo_list};
|
# mkdir ${base_dir}/_src; echo -e "# put the URL for your repo(s) here.\n# ex: https://github.com/youruser/yourrepo.git\n" > ${repo_list};
|
||||||
else
|
else
|
||||||
info; line "A repository list exists at: \c"; cmd_inline_noprompt "${repo_list}"
|
info; line "A repository list exists at: \c"; cmd_inline_noprompt "${repo_list}"
|
||||||
|
|||||||
Reference in New Issue
Block a user