We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b1a8b9e commit cfc896fCopy full SHA for cfc896f
tools/modules/software/install_homepage.sh
@@ -14,7 +14,7 @@ function module_homepage () {
14
local title="homepage"
15
local condition=$(which "$title" 2>/dev/null)
16
17
- if check_if_installed docker-ce; then
+ if pkg_installed docker-ce; then
18
local container=$(docker container ls -a | mawk '/homepage?( |$)/{print $1}')
19
local image=$(docker image ls -a | mawk '/homepage?( |$)/{print $3}')
20
fi
@@ -26,7 +26,7 @@ function module_homepage () {
26
27
case "$1" in
28
"${commands[0]}")
29
- check_if_installed docker-ce || install_docker
+ pkg_installed docker-ce || install_docker
30
[[ -d "$HOMEPAGE_BASE" ]] || mkdir -p "$HOMEPAGE_BASE" || { echo "Couldn't create storage directory: $HOMEPAGE_BASE"; exit 1; }
31
docker run -d \
32
--name homepage \
0 commit comments