Resolve security libraries beside canonical entrypoints

This commit is contained in:
Afonso Oliveira committed 2026-09-07 17:31:54 +01:00
1 parent f37c73fa20
commit 5bc41b2585
6 files changed
+43 -5

No files matched your search

+2 -1
View File
@@ -6,7 +6,8 @@ if [[ $- != *p* ]]; then
echo "Refusing an unsafe Bash startup for the sudo boundary." >&2
exit 126
fi
source "${BASH_SOURCE[0]%/*}/../../../bin/omarchy-security-functions" || exit 126
security_entrypoint=$(/usr/bin/readlink -e -- "${BASH_SOURCE[0]}") || exit 126
source "${security_entrypoint%/*}/../../../bin/omarchy-security-functions" || exit 126
omarchy_security_require_privileged_bash_startup || exit 126
if (( $# == 1 )); then