From fb5687d430e95349d73483e5a511229e305f7110 Mon Sep 17 00:00:00 2001 From: Recolic <git@me.recolic.net> Date: Thu, 20 Mar 2025 01:18:48 -0700 Subject: [PATCH] . --- examples/template/masterconf.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/examples/template/masterconf.sh b/examples/template/masterconf.sh index a073090..dc0425a 100644 --- a/examples/template/masterconf.sh +++ b/examples/template/masterconf.sh @@ -22,7 +22,12 @@ lc_assert_user_is_not root function lc_init () { # as root / as user? - # note: in demo, append /etc/profile for PATH + # Some helpful functions.. To stop running current script: + [ -f /usr/bin/apt ] || die "This is not even ubuntu. Stop!" + # To print an error message: + apt install some_package || err "Failed to install my favorite pkg!" + + gsettings set var=123 } function lc_startup () { -- GitLab