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
4 changes: 4 additions & 0 deletions scripts/uninstall-container.sh
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,10 @@ if [ -n "$CONTAINER_RUNNING" ]; then
exit 1
fi

if [ "$EUID" -ne 0 ]; then
echo "This script requires an administrator password to remove the application files from system directories."
fi

FILES=$(pkgutil --only-files --files com.apple.container-installer)
for i in ${FILES[@]}; do
# this command can fail for some of the reported files from pkgutil such as
Expand Down
Loading