Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Config
Commits
939a662d
Commit
939a662d
authored
Sep 29, 2018
by
Igor Pecovnik
Browse files
Fix Mayan EDMS install
parent
3c0cbf7b
Changes
1
Show whitespace changes
Inline
Side-by-side
debian-software
View file @
939a662d
...
@@ -184,11 +184,9 @@ function check_status
...
@@ -184,11 +184,9 @@ function check_status
LIST
+=
(
"Docker"
"Run applications by using containers"
"
$DOCKER_STATUS
"
)
LIST
+=
(
"Docker"
"Run applications by using containers"
"
$DOCKER_STATUS
"
)
# Mayan EDMS docker install
# Mayan EDMS docker install
if
[[
"
$DOCKER_STATUS
"
==
"on"
]];
then
curl
--
output
/
dev
/
null
--
silent
--
head
--
fail
http
://
localhost
/
authentication
/
login
/?
next
=
curl
--
output
/
dev
/
null
--
silent
--
head
--
fail
http
://
localhost
/
authentication
/
login
/?
next
=
MAYAN_STATUS
=
$
([[
$
?
-
eq
0
]]
&&
echo
"on"
||
echo
"off"
)
MAYAN_STATUS
=
$
([[
$
?
-
eq
0
]]
&&
echo
"on"
||
echo
"off"
)
LIST
+=
(
"Mayan EDMS"
"Electronic vault for your documents"
"
$MAYAN_STATUS
"
)
LIST
+=
(
"Mayan EDMS"
"Electronic vault for your documents"
"
$MAYAN_STATUS
"
)
fi
# ISPconfig
# ISPconfig
ISPCONFIG_STATUS
=
"$([[ -d /usr/local/ispconfig ]] && echo "
on
" || echo "
off
" )"
ISPCONFIG_STATUS
=
"$([[ -d /usr/local/ispconfig ]] && echo "
on
" || echo "
off
" )"
...
@@ -1598,7 +1596,10 @@ while true; do
...
@@ -1598,7 +1596,10 @@ while true; do
fi
fi
if [[ "$selection" == *Mayan*
&&
"$MAYAN_STATUS" != "on" ]]; then
if [[ "$selection" == *Mayan*
&&
"$MAYAN_STATUS" != "on" ]]; then
wget -o https://gitlab.com/mayan-edms/mayan-edms/raw/master/contrib/scripts/install/docker.sh | bash
if [[ "$DOCKER_STATUS" == "off" ]]; then
install_docker
fi
curl -fsSL https://get.mayan-edms.com | bash
selection=${selection//Mayan/}
selection=${selection//Mayan/}
fi
fi
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment