mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-01-28 08:03:36 +00:00
Get owncloud enabling limping along.
This commit is contained in:
parent
fe33c348b4
commit
829e40198d
@ -39,10 +39,10 @@ done
|
||||
|
||||
if [ "$owncloud_enable" != "$owncloud_enable_cur" ] ; then
|
||||
if $owncloud_enable ; then
|
||||
apt-get install -y owncloud
|
||||
a2enconf owncloud
|
||||
apt-get install -y owncloud 2>&1 | logger -t owncloud-setup
|
||||
a2enconf owncloud 2>&1 | logger -t owncloud-setup
|
||||
else
|
||||
a2disconf owncloud
|
||||
a2disconf owncloud 2>&1 | logger -t owncloud-setup
|
||||
fi
|
||||
service apache2 restart
|
||||
service apache2 restart 2>&1 | logger -t owncloud-setup
|
||||
fi
|
||||
|
||||
@ -50,7 +50,6 @@ some other websites business model.</p>
|
||||
for k in kwargs.keys():
|
||||
if 'on' == kwargs[k]:
|
||||
shortk = k.split("owncloud_").pop()
|
||||
cfg.log.info('found: %s, short %s ' % (k, shortk))
|
||||
checkedinfo[shortk] = True
|
||||
|
||||
for key in checkedinfo.keys():
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user