Skip to content
Snippets Groups Projects
Commit fb5687d4 authored by Recolic's avatar Recolic :house_with_garden:
Browse files

.

parent 5c507459
No related branches found
No related tags found
No related merge requests found
...@@ -22,7 +22,12 @@ lc_assert_user_is_not root ...@@ -22,7 +22,12 @@ lc_assert_user_is_not root
function lc_init () { function lc_init () {
# as root / as user? # 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 () { function lc_startup () {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment