From 7afc305891ee475d0a78710f4c97373e2ea2457c Mon Sep 17 00:00:00 2001 From: Jason Pitman Date: Fri, 15 May 2020 14:18:05 -0500 Subject: [PATCH] Update functions.sh --- backup/archive_repos/_lib/functions.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/backup/archive_repos/_lib/functions.sh b/backup/archive_repos/_lib/functions.sh index 83bc72d..b86418a 100755 --- a/backup/archive_repos/_lib/functions.sh +++ b/backup/archive_repos/_lib/functions.sh @@ -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}" echo; sleep 1 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}; else info; line "A repository list exists at: \c"; cmd_inline_noprompt "${repo_list}"