mirror of
https://github.com/ff4500/utilities.git
synced 2026-07-01 11:47:04 -05:00
dasdas
This commit is contained in:
@@ -16,33 +16,43 @@ sep() {
|
|||||||
#echo -e "-----------------------------------------------------------------------------"
|
#echo -e "-----------------------------------------------------------------------------"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
aaa() {
|
||||||
|
echo -e "${fg_darkgrey_01} -------------------------------------------------------- ${reset}"
|
||||||
|
}
|
||||||
|
|
||||||
# Check directory existence
|
# Check directory existence
|
||||||
# -----------------------------------------------
|
# -----------------------------------------------
|
||||||
|
aaa
|
||||||
|
echo
|
||||||
|
|
||||||
if [ ! -d "${base_dir}" ]; then
|
if [ ! -d "${base_dir}" ]; then
|
||||||
echo -e "Base dir doesn't exist. Making it now."
|
indent; indent; echo -e "Base dir doesn't exist. Making it now."
|
||||||
echo -e "mkdir ${base_dir}"
|
indent; indent; echo -e "> mkdir ${base_dir}"
|
||||||
|
echo
|
||||||
#mkdir ${source}
|
#mkdir ${source}
|
||||||
else
|
else
|
||||||
echo -e "Base dir exists at ${base_dir}"
|
echo -e "Base dir exists at ${base_dir}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ ! -d "${source}" ]; then
|
if [ ! -d "${source}" ]; then
|
||||||
echo -e "Source dir doesn't exist. Making it now."
|
indent; indent; echo -e "Source dir doesn't exist. Making it now."
|
||||||
echo -e "mkdir ${source}"
|
indent; indent; echo -e "> mkdir ${source}"
|
||||||
|
echo
|
||||||
#mkdir ${source}
|
#mkdir ${source}
|
||||||
else
|
else
|
||||||
echo -e "Source dir exists at ${source}"
|
echo -e "Source dir exists at ${source}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ ! -d "${output}" ]; then
|
if [ ! -d "${output}" ]; then
|
||||||
echo -e "Output dir doesn't exist. Making it now."
|
indent; indent; echo -e "Output dir doesn't exist. Making it now."
|
||||||
echo -e "mkdir ${output}"
|
indent; indent; echo -e "> mkdir ${output}"
|
||||||
#mkdir ${output}
|
#mkdir ${output}
|
||||||
else
|
else
|
||||||
echo -e "Output dir exists at ${output}"
|
echo -e "Output dir exists at ${output}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
echo
|
||||||
|
aaa
|
||||||
|
|
||||||
# # Clone everything in repo_list to source folder
|
# # Clone everything in repo_list to source folder
|
||||||
# # -----------------------------------------------
|
# # -----------------------------------------------
|
||||||
@@ -103,8 +113,13 @@ zzz (){
|
|||||||
#zzz
|
#zzz
|
||||||
|
|
||||||
run() {
|
run() {
|
||||||
|
echo
|
||||||
sep
|
sep
|
||||||
indent; echo "Yay"
|
indent; echo "Yay"
|
||||||
sep
|
sep
|
||||||
echo
|
echo
|
||||||
|
aaa
|
||||||
|
indent; indent; echo "YAY!"
|
||||||
|
aaa
|
||||||
|
echo
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user