From d8192b9d06dd5c01866679ab07d3d8306b4bbcf4 Mon Sep 17 00:00:00 2001 From: losinshi Date: Thu, 28 Sep 2006 01:29:32 +0000 Subject: [PATCH] fixing git-svn-id: file:///home/jan/tmp/wetterstation/trunk@181 dd492736-c11a-0410-ad51-8c26713eaf7f --- debian/weatherstation-chart.postinst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/debian/weatherstation-chart.postinst b/debian/weatherstation-chart.postinst index 2beb31c..4d96c36 100644 --- a/debian/weatherstation-chart.postinst +++ b/debian/weatherstation-chart.postinst @@ -20,8 +20,6 @@ if [ -e /etc/weatherstation/frontend.conf ]; then echo -n "Lege Link zu den Bildern an ... " /bin/ln -s -f $LINKTARGET $LINKNAME echo "done" - /bin/chown weatherstation:www-data $LINKTARGET - /bin/chmod 750 $LINKTARGET fi fi fi @@ -30,5 +28,7 @@ fi /bin/chown weatherstation:weatherstation /etc/weatherstation/chart.conf /bin/chmod 440 /etc/weatherstation/chart.conf +/bin/chown weatherstation:www-data /var/cache/weatherstation-chart +/bin/chmod 750 /var/cache/weatherstation-chart /usr/bin/fc-cache