Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
updater.sh v4.0
- removed group root/wheel check
  • Loading branch information
earthlng committed Nov 24, 2023
1 parent fd72683 commit e4dd5aa
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions updater.sh
Expand Up @@ -2,7 +2,7 @@

## arkenfox user.js updater for macOS and Linux

## version: 3.9
## version: 4.0
## Author: Pat Johnson (@overdodactyl)
## Additional contributors: @earthlng, @ema-pe, @claustromaniac, @infinitewarp

Expand Down Expand Up @@ -393,11 +393,11 @@ update_updater "$@"
getProfilePath # updates PROFILE_PATH or exits on error
cd "$PROFILE_PATH" || exit 1

# Check if any files have the owner/group as root/wheel.
if [ -n "$(find ./ -user 0 -o -group 0)" ]; then
# Check if any files have the owner as root/wheel.
if [ -n "$(find ./ -user 0)" ]; then
printf 'It looks like this script was previously run with elevated privileges,
you will need to change ownership of the following files to your user:\n'
find . -user 0 -o -group 0
find . -user 0
cd "$CURRDIR"
exit 1
fi
Expand Down

0 comments on commit e4dd5aa

Please sign in to comment.