Get owncloud enabling limping along.

This commit is contained in:
Petter Reinholdtsen 2013-09-26 11:34:04 +02:00
parent fe33c348b4
commit 829e40198d
2 changed files with 4 additions and 5 deletions

View File

@ -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

View File

@ -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():