This commit is contained in:
Marc Beninca 2025-06-28 04:36:16 +02:00
parent 1cad82456e
commit 88f3ab499d
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F
4 changed files with 39 additions and 24 deletions

View file

@ -1,5 +1,9 @@
#! /usr/bin/env sh
# ╭──────╮
# │ main │
# ╰──────╯
# ╭──────┬───────────╮
# │ main │ constants │
# ╰──────┴───────────╯
@ -127,12 +131,12 @@ rwx_source() {
# run initial steps
rwx_main() {
# system root
# source system root
if ! rwx_source "${RWX_ROOT_SYSTEM}"; then
__rwx_log "Not a directory: ${RWX_ROOT_SYSTEM}"
return 1
fi
# user root
# source user root
rwx_source "${RWX_SELF_USER}"
# context / command
if [ -n "${RWX_COMMAND_NAME}" ]; then