Skip to content

Commit

Permalink
bug fix for installation
Browse files Browse the repository at this point in the history
  • Loading branch information
shinokada committed Jun 25, 2021
1 parent b63252b commit a6cc84d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions awesome
Original file line number Diff line number Diff line change
Expand Up @@ -174,17 +174,17 @@ fn_install() {
# returns repo_link
repo_script "$1" "$2"
cd "$awesome_dir" || exit
repo=$repo_name
# echo "script dir: $script_dir"
# echo "repo name: $repo_name"
# echo "repo link: $repo_link"
if [[ -z $repo_name ]]; then
if [[ -n $repo_name ]]; then
echo "Cloning ..."
git clone "${repo_link}"
echo "Cloning done."
fi
echo "${awesome_dir}, ${repo_name}, ${script_name}, ${bin_dir}"
# echo "${awesome_dir}, ${repo_name}, ${script_name}, ${bin_dir}"
create_symlink "${awesome_dir}" "${repo_name}" "${script_name}" "${bin_dir}" || exit
repo=$repo_name
elif [[ $slash_num = 1 ]]; then
# $1 alexanderepstein/Bash-Snippets
# $2 cheat/cheat
Expand Down

0 comments on commit a6cc84d

Please sign in to comment.