mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-08-26 12:46:08 +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" != "$owncloud_enable_cur" ] ; then
|
||||||
if $owncloud_enable ; then
|
if $owncloud_enable ; then
|
||||||
apt-get install -y owncloud
|
apt-get install -y owncloud 2>&1 | logger -t owncloud-setup
|
||||||
a2enconf owncloud
|
a2enconf owncloud 2>&1 | logger -t owncloud-setup
|
||||||
else
|
else
|
||||||
a2disconf owncloud
|
a2disconf owncloud 2>&1 | logger -t owncloud-setup
|
||||||
fi
|
fi
|
||||||
service apache2 restart
|
service apache2 restart 2>&1 | logger -t owncloud-setup
|
||||||
fi
|
fi
|
||||||
|
|||||||
@ -50,7 +50,6 @@ some other websites business model.</p>
|
|||||||
for k in kwargs.keys():
|
for k in kwargs.keys():
|
||||||
if 'on' == kwargs[k]:
|
if 'on' == kwargs[k]:
|
||||||
shortk = k.split("owncloud_").pop()
|
shortk = k.split("owncloud_").pop()
|
||||||
cfg.log.info('found: %s, short %s ' % (k, shortk))
|
|
||||||
checkedinfo[shortk] = True
|
checkedinfo[shortk] = True
|
||||||
|
|
||||||
for key in checkedinfo.keys():
|
for key in checkedinfo.keys():
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user