Skip to content

Commit e4dd5aa

Browse files
authored
updater.sh v4.0
- removed group root/wheel check
1 parent fd72683 commit e4dd5aa

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

updater.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
## arkenfox user.js updater for macOS and Linux
44

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

@@ -393,11 +393,11 @@ update_updater "$@"
393393
getProfilePath # updates PROFILE_PATH or exits on error
394394
cd "$PROFILE_PATH" || exit 1
395395

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

0 commit comments

Comments
 (0)