Skip to content

Commit

Permalink
Adds config option for the protocol to use (#68)
Browse files Browse the repository at this point in the history
  • Loading branch information
ziti authored Feb 27, 2024
1 parent 74deda4 commit 1640410
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,9 @@ source "$parent_path"/.env
backup_folder="config_backup"
backup_path="$HOME/$backup_folder"
empty_commit=${empty_commit:-"yes"}
git_protocol=${git_protocol:-"https"}
git_host=${git_host:-"github.com"}
full_git_url="https://"$github_token"@"$git_host"/"$github_username"/"$github_repository".git"
full_git_url=$git_protocol"://"$github_token"@"$git_host"/"$github_username"/"$github_repository".git"
exclude=${exclude:-"*.swp" "*.tmp" "printer-[0-9]*_[0-9]*.cfg" "*.bak" "*.bkp" "*.csv" "*.zip"}

# Check for updates
Expand Down

0 comments on commit 1640410

Please sign in to comment.