General refactor & reformatting across the board
This commit is contained in:
parent
e08e7a4422
commit
f7445a10db
6 changed files with 15 additions and 12 deletions
8
bin/doom
8
bin/doom
|
@ -57,10 +57,10 @@ with a different private module."
|
|||
(setq command "help"))
|
||||
|
||||
(when (equal (user-real-uid) 0)
|
||||
(message
|
||||
(concat "WARNING: This script is running as root. This isn't necessary and is likely\n"
|
||||
"unintentional. It will cause file permissions errors later if you use this\n"
|
||||
"Doom installation on a non-root account.\n"))
|
||||
(print!
|
||||
(concat "WARNING: This script is running as root. This likely wasn't intentional, and\n"
|
||||
"is unnecessary to use this script. This will cause file permissions errors\n"
|
||||
"later if you use this Doom installation on a non-root account.\n"))
|
||||
(unless (or doom-auto-accept (y-or-n-p "Continue anyway?"))
|
||||
(user-error "Aborted")))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue