g_it/macupdater
Archived
1
0
Fork 0

Fixing the repo for upload.

This commit is contained in:
g_it 2026-01-28 22:40:06 +01:00
commit 23efc5043b
Signed by untrusted user who does not match committer: g_it
GPG key ID: A2B0A7C06A054627
11 changed files with 25 additions and 859 deletions

View file

@ -59,19 +59,19 @@ fi
{ echo "macupdater 10.1.1"; echo "Log: " `date`; line; } > $LOG
# Brew update commands.
{ trash -rf $(brew --cache); echo "Brew"; echo ""; brew update; brew upgrade; brew cleanup; } >> $LOG
{ trash -rf $(brew --cache); echo "Brew"; echo ""; brew update; brew upgrade $(brew outdated --formula -q); brew cleanup; } >> $LOG
catcher Brew
line
# Brew-cask update commands.
{ echo "Brew Cask"; echo ""; brew cu -ayf --cleanup; } >> $LOG
{ echo "Brew Cask"; echo ""; brew cu -ayf --no-quarantine --cleanup; } >> $LOG
catcher Brew-cask
line
# # Push and pull all git remotes.
# { cd Projects/Programming/push/;find . -type d -depth 1 -exec git --git-dir={}/.git --work-tree=$PWD/{} push \; cd Projects/Programming/pull/; find . -type d -depth 1 -exec git --git-dir={}/.git --work-tree=$PWD/{} pull origin master \; } >> $LOG
# catcher Git-remote
# line
# Push and pull all git remotes.
{ cd Projects/Programming/push/;find . -type d -depth 1 -exec git --git-dir={}/.git --work-tree=$PWD/{} push \; cd Projects/Programming/pull/; find . -type d -depth 1 -exec git --git-dir={}/.git --work-tree=$PWD/{} pull origin master \; } >> $LOG
catcher Git-remote
line
# Node update commands.
{ echo "Node"; echo ""; npm install npm@latest -g; npm update; npm prune; } >> $LOG
@ -89,7 +89,7 @@ line
# line
# Python update commands.
{ echo "Python"; echo ""; pip install -U pip; } >> $LOG
{ echo "Python"; echo ""; pip3 install -U pip; } >> $LOG
catcher Python
line
@ -103,8 +103,13 @@ line
catcher macOS
line
# Remove the quarantine flag for all applications
{ xattr -r -d com.apple.quarantine /Applications/; } >> $LOG
catcher NoQuarantine
line
# Prints and shows dialog box confirming all updates are done.
printf "All updates complete. END" >> $LOG
verify $ERROR
echo "QUITAPP"
echo "QUITAPP"