Skip to content

Commit

Permalink
fix escape character, should close #1667 (#1668)
Browse files Browse the repository at this point in the history
  • Loading branch information
bol0gna committed Apr 24, 2023
1 parent d50c772 commit 2f4b93a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions updater.sh
Expand Up @@ -2,15 +2,15 @@

## arkenfox user.js updater for macOS and Linux

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

## DON'T GO HIGHER THAN VERSION x.9 !! ( because of ASCII comparison in update_updater() )

# Check if running as root and if any files have the owner/group as root/wheel.
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
elif [ -n "$(find ./ -user 0 -o -group 0)" ]; then
printf 'It looks like this script was previously run with elevated privileges,
Expand Down

0 comments on commit 2f4b93a

Please sign in to comment.