diff options
author | hubzilla <git@macgirvin.com> | 2016-08-01 09:14:24 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-08-01 09:14:24 +1000 |
commit | 14ca3769022d91b9b8dd49268986cfac09dff88e (patch) | |
tree | fc7bef8b042ece1a7b38131dd24500add7e28e57 | |
parent | 77a9be845dc3925c9df1eb26d455e755ad2edbd9 (diff) | |
parent | b60e36ea7a97984c223da67078a6b9ce6e2451c1 (diff) | |
download | volse-hubzilla-14ca3769022d91b9b8dd49268986cfac09dff88e.tar.gz volse-hubzilla-14ca3769022d91b9b8dd49268986cfac09dff88e.tar.bz2 volse-hubzilla-14ca3769022d91b9b8dd49268986cfac09dff88e.zip |
Merge pull request #472 from einervonvielen/homeinstall-remove-owncloud
Homeinstall remove owncloud
-rwxr-xr-x | .homeinstall/hubzilla-setup.sh | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/.homeinstall/hubzilla-setup.sh b/.homeinstall/hubzilla-setup.sh index 7701b1699..6310bf47f 100755 --- a/.homeinstall/hubzilla-setup.sh +++ b/.homeinstall/hubzilla-setup.sh @@ -668,45 +668,6 @@ function rewrite_to_https { service apache2 restart } - -function install_owncloud { - if [ -z "$owncloud" ] - then - print_info "Do not install owncloud" - return 0 - fi - if [ -f /etc/apt/sources.list.d/owncloud.list ] - then - print_info "owncloud is already installed and is left untouched" - return 0 - fi - print_info "installing owncloud..." - # add the repository key to apt - wget -nv https://download.owncloud.org/download/repositories/stable/Debian_8.0/Release.key -O Release.key - apt-key add - < Release.key - # add the repository and install from there - sh -c "echo 'deb http://download.owncloud.org/download/repositories/stable/Debian_8.0/ /' >> /etc/apt/sources.list.d/owncloud.list" - apt-get update - nocheck_install "owncloud" - chown -R www-data:www-data /var/www/owncloud/ - # set strong permissions - ocpath='/var/www/owncloud' - htuser='www-data' - htgroup='www-data' - rootuser='root' # On QNAP this is admin - find ${ocpath}/ -type f -print0 | xargs -0 chmod 0640 - find ${ocpath}/ -type d -print0 | xargs -0 chmod 0750 - chown -R ${rootuser}:${htgroup} ${ocpath}/ - chown -R ${htuser}:${htgroup} ${ocpath}/apps/ - chown -R ${htuser}:${htgroup} ${ocpath}/config/ - chown -R ${htuser}:${htgroup} ${ocpath}/data/ - chown -R ${htuser}:${htgroup} ${ocpath}/themes/ - chown ${rootuser}:${htgroup} ${ocpath}/.htaccess - chown ${rootuser}:${htgroup} ${ocpath}/data/.htaccess - chmod 0644 ${ocpath}/.htaccess - chmod 0644 ${ocpath}/data/.htaccess -} - # This will allways overwrite both config files # - internal disk # - external disk (LUKS + ext4) @@ -939,7 +900,6 @@ configure_apache_for_https check_https install_hubzilla rewrite_to_https -# install_owncloud # deprecated install_rsnapshot configure_cron_daily install_cryptosetup |