A free, open, self-hosted app platform (GNU AGPLv3): one-click app deploys, Traefik reverse proxy with automatic SSL, rootless Docker support, gluetun VPN routing, and a web dashboard to manage it all. Free & open forever to self-host; optional paid hosted services fund it. See PROMISE.md. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com> Signed-off-by: librelad <librelad@digitalangels.vip>
19 lines
541 B
Bash
Executable File
19 lines
541 B
Bash
Executable File
#!/bin/bash
|
|
|
|
checkCommandRequirement()
|
|
{
|
|
if [[ $CFG_REQUIREMENT_COMMAND == "true" ]]; then
|
|
# Custom command check
|
|
if [ -f "$command_script" ]; then
|
|
isSuccessful "Custom command 'libreportal' installed."
|
|
else
|
|
checkSuccess "No custom command installed, did you run the init.sh first?"
|
|
echo ""
|
|
isNotice "Please run the following command as root:"
|
|
isNotice "cd ~ && chmod 0755 init.sh && ./init.sh init && su - $sudo_user_name -c 'source ~/.bashrc && libreportal'"
|
|
echo ""
|
|
isNotice "Exiting...."
|
|
exit
|
|
fi
|
|
fi
|
|
} |