Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/macos-linux-dev/git_update_macos_silicon.sh
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,9 @@ update_repos_ssh() {

# Function to update repositories over HTTPS
update_repos_https() {
# Ask if the user wants to update repositories with '-aur' suffix
# Ask user if they want to update repositories with '-aur' suffix
read -rp "Do you want to update repositories with '-aur' suffix? (Y/n): " aur_choice
aur_choice=${aur_choice:-y}
aur_choice=$(echo "$aur_choice" | tr '[:upper:]' '[:lower:]') # Convert to lowercase
aur_choice=${aur_choice:-n} # Set default choice to 'n' if Enter is pressed

# Update each repository
for repo in */.git; do
Expand All @@ -80,6 +79,7 @@ update_repos_https() {
echo "All repositories have been checked and updated if necessary."
}


# Function to check repositories and perform actions
check_repos() {
local changed_dir=false # Flag to check if any directory has changes
Expand Down