diff --git a/tools/modules/software/install_homepage.sh b/tools/modules/software/install_homepage.sh index 185a21732..b9c5614b4 100644 --- a/tools/modules/software/install_homepage.sh +++ b/tools/modules/software/install_homepage.sh @@ -14,7 +14,7 @@ function module_homepage () { local title="homepage" local condition=$(which "$title" 2>/dev/null) - if check_if_installed docker-ce; then + if pkg_installed docker-ce; then local container=$(docker container ls -a | mawk '/homepage?( |$)/{print $1}') local image=$(docker image ls -a | mawk '/homepage?( |$)/{print $3}') fi @@ -26,7 +26,7 @@ function module_homepage () { case "$1" in "${commands[0]}") - check_if_installed docker-ce || install_docker + pkg_installed docker-ce || install_docker [[ -d "$HOMEPAGE_BASE" ]] || mkdir -p "$HOMEPAGE_BASE" || { echo "Couldn't create storage directory: $HOMEPAGE_BASE"; exit 1; } docker run -d \ --name homepage \