Clarify unattended updates still require sudo authorization
This commit is contained in:
1 parent
1f8f5bacac
commit
a9e9954e3e
2 files changed
+3
-5
No files matched your search
+2
-2
@@ -48,8 +48,8 @@ omarchy_security_install_signal_exit_traps
|
||||
|
||||
omarchy-update-requires-free-space
|
||||
|
||||
# -y is a promise not to ask anything. Steps that would need an answer report
|
||||
# and move on instead of waiting on a prompt nobody is here to give.
|
||||
# -y suppresses Omarchy confirmation prompts; sudo authorization is still
|
||||
# required. Interactive review steps report and move on instead of waiting.
|
||||
[[ ${1:-} != "-y" ]] || export OMARCHY_UPDATE_UNATTENDED=1
|
||||
|
||||
if [[ ${1:-} == "-y" ]] || omarchy-update-confirm; then
|
||||
|
||||
Reference in new issue
Block a user