parent
d50c772d7d
commit
2f4b93a18f
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
## arkenfox user.js updater for macOS and Linux
|
## arkenfox user.js updater for macOS and Linux
|
||||||
|
|
||||||
## version: 3.7
|
## version: 3.8
|
||||||
## Author: Pat Johnson (@overdodactyl)
|
## Author: Pat Johnson (@overdodactyl)
|
||||||
## Additional contributors: @earthlng, @ema-pe, @claustromaniac, @infinitewarp
|
## Additional contributors: @earthlng, @ema-pe, @claustromaniac, @infinitewarp
|
||||||
|
|
||||||
@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
# Check if running as root and if any files have the owner/group as root/wheel.
|
# Check if running as root and if any files have the owner/group as root/wheel.
|
||||||
if [ "${EUID:-"$(id -u)"}" -eq 0 ]; then
|
if [ "${EUID:-"$(id -u)"}" -eq 0 ]; then
|
||||||
printf 'You shouldn\'t run this with elevated privileges (such as with doas/sudo).\n'
|
printf "You shouldn\'t run this with elevated privileges (such as with doas/sudo).\n"
|
||||||
exit 1
|
exit 1
|
||||||
elif [ -n "$(find ./ -user 0 -o -group 0)" ]; then
|
elif [ -n "$(find ./ -user 0 -o -group 0)" ]; then
|
||||||
printf 'It looks like this script was previously run with elevated privileges,
|
printf 'It looks like this script was previously run with elevated privileges,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user