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
390c7cdb
Unverified
Commit
390c7cdb
authored
May 04, 2018
by
Igor Pečovnik
Committed by
GitHub
May 04, 2018
Browse files
Merge pull request #19 from nachoparker/development
added NextCloudPlus to softy
parents
2039b519
b6d2249d
Changes
1
Show whitespace changes
Inline
Side-by-side
debian-software
View file @
390c7cdb
...
...
@@ -121,7 +121,9 @@ if [[ "$(dpkg --print-architecture)" == "armhf" || "$(dpkg --print-architecture)
VPN_CLIENT_STATUS
=
"$([[ -d /usr/local/vpnclient ]] && echo "
on
" || echo "
off
" )"
LIST
+=
(
"VPN client"
"Softether VPN client"
"
$VPN_CLIENT_STATUS
"
)
fi
# NCP
NCP_STATUS
=
"$( [[ -d /var/www/nextcloud ]] && echo "
on
" || echo "
off
" )"
[[
"
$family
"
!=
"Ubuntu"
]]
&&
LIST
+=
(
"NCP"
"Nextcloud personal cloud"
"
$NCP_STATUS
"
)
# OMV
OMV_STATUS
=
"$(check_if_installed openmediavault && echo "
on
" || echo "
off
" )"
[[
"
$family
"
!=
"Ubuntu"
]]
&&
LIST
+=
(
"OMV"
"OpenMediaVault NAS solution"
"
$OMV_STATUS
"
)
&&
LIST_CONST
=
3
...
...
@@ -460,8 +462,9 @@ if [[ $? = 0 ]]; then
fi
}
install_ncp (){
curl -sSL https://raw.githubusercontent.com/nextcloud/nextcloudpi/master/install.sh | bash
}
install_omv (){
#
...
...
@@ -1480,6 +1483,10 @@ while true; do
install_vpn_client
selection=${selection//\"VPN client\"/}
fi
if [[ "$selection" == *NCP*
&&
"$NCP_STATUS" != "on" ]]; then
install_ncp
selection=${selection//NCP/}
fi
if [[ "$selection" == *OMV*
&&
"$OMV_STATUS" != "on" ]]; then
install_omv
...
...
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