Prevent Catalina notification?

mhasman
Valued Contributor

Hello,

Is there a way to block/prevent Catalina notification? There is solution below for Mojave.

Thanks!

#!/bin/bash
# Disable macOS Upgrade notifications

# Locate Caching Servers
/usr/bin/AssetCacheLocatorUtil

# Reset ignored updates
/usr/sbin/softwareupdate --reset-ignored

# Ignore High Sierra Nag Updates
/usr/sbin/softwareupdate --ignore "macOSInstallerNotification_GM"

echo

# Step 2: delete the file if it's already on the computer
if [[ -d /Library/Bundles/OSXNotification.bundle ]]; then
    echo "OSXNotification.bundle found. Deleting..."
    rm -rf /Library/Bundles/OSXNotification.bundle ||:
else
    echo "OSXNotification.bundle not found."
fi
3 REPLIES 3

bramstedtb
New Contributor III

The following works for us

#!/bin/sh

softwareupdate --ignore "macOS Catalina"

mhasman
Valued Contributor

@bramstedtb Thank you! I'll try

mhasman
Valued Contributor