Skip to content
Snippets Groups Projects
Select Git revision
  • video_for_annotations
  • annotation-on-video default protected
  • demo_ci
  • 3-upstream-01022023
  • master
  • gh3538-captions
  • 16-adapt-for-images-annot
  • 15-api-for-annotations-on-video
  • 15-annotations-on-videos
  • wip-1-annotations-on-videos
  • 9-videoviewer-tests
  • 9_wip_videotests
  • 6-fix-tests-and-ci
  • _fix_ci
  • wip-webpack-from-git
15 results

css.js

Blame
  • installNextcloudApps.sh 1.11 KiB
    
    # Copyright (C) 2017  Tetras Libre <admin@tetras-libre.fr>
    # Author: Curt, Sebastien <Sebastien.Curt@tetras-libre.fr>
    #
    # This program is free software: you can redistribute it and/or modify
    # it under the terms of the GNU General Public License as published by
    # the Free Software Foundation, either version 3 of the License, or
    # (at your option) any later version.
    #
    # This program is distributed in the hope that it will be useful,
    # but WITHOUT ANY WARRANTY; without even the implied warranty of
    # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    # GNU General Public License for more details.
    #
    # You should have received a copy of the GNU General Public License
    # along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    NEXTCLOUD_INSTALL_DIR="/var/www/nextcloud/"
    APPS="tasks news talk calendar contacts impersonate"
    
    # Take 1 parameters: app_id
    install_app () {
        application=$1
        sudo -u www-data php ${NEXTCLOUD_INSTALL_DIR}occ app:install ${application}
        echo "\tEnable ${application} : terminated, code $?"
    }
    
    for app in $APPS
    do
        install_app $app
    done
    
    unset NEXTCLOUD_INSTALL_DIR