Skip to content

Commit

Permalink
Update prelude.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
jan-revay authored Oct 16, 2023
1 parent 7db54de commit e2a1cc3
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions prelude.sh
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ if [[ "${__INITPC_PRELUDE_SOURCED__}" != "true" ]]; then
# TODO - finish
#

function distro_is {
function distro_is (
# TODO see:
# https://www.freedesktop.org/software/systemd/man/os-release.html
# https://0pointer.de/blog/projects/os-release.html
Expand All @@ -62,5 +62,7 @@ if [[ "${__INITPC_PRELUDE_SOURCED__}" != "true" ]]; then
echo "Error: The OS is ${PRETTY_NAME} but should be $1! Aborting."
exit ${EXIT_INCORRECT_PLATFORM}
fi
}

exit ${EXIT_SUCCESS}
)
fi

0 comments on commit e2a1cc3

Please sign in to comment.