Projects
home:ajaissle:branches:Kolab:Development
kolab-scripts
kolab-pre-setup
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File kolab-pre-setup of Package kolab-scripts
#!/bin/bash # # Copyright 2013 Aeneas Jaissle <aj@ajaissle.de> # # 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; version 3 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 Library General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin street, Fifth Floor, Boston, MA 02111-1301, USA. # PATH=/usr/bin:/bin [[ ! $(id -u) ]] && { echo "This program must be run as root" >&2 exit 1 } [[ -f /etc/kolab/pre-setup.conf ]] && { . /etc/kolab/pre-setup.conf export INTERNET_CONNECTIVITY } echo "Preparing Kolab Groupware environment..." for F in /usr/share/kolab/pre-setup.d/*.sh; do FILENAME=$(basename $F | sed 's/-/_/g;s/\.sh$//') eval MODE=\$$FILENAME [[ "$MODE" != "disable" ]] && { [[ -x $F ]] && $F } done echo echo "Check the output above, if it looks OK to you run 'kolab-setup' to " echo "actually install Kolab on your system. Otherwise run this script " echo "once more, or correct the errors manually"
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.