[Piuparts-commits] [SCM] piuparts git repository branch, develop, updated. 0.49-152-g1abc2d2
Andreas Beckmann
anbe at debian.org
Tue Mar 5 08:52:44 UTC 2013
The following commit has been merged in the develop branch:
commit 1abc2d2a58a61a6dc2077451fcbd62424ad63df5
Author: Andreas Beckmann <anbe at debian.org>
Date: Mon Mar 4 23:37:32 2013 +0100
update-piuparts-setup: replace weather icon symlinks with copies
symlinks require FollowSymlinks in the apache config
Signed-off-by: Andreas Beckmann <anbe at debian.org>
diff --git a/update-piuparts-setup b/update-piuparts-setup
index f3124de..66fef8b 100755
--- a/update-piuparts-setup
+++ b/update-piuparts-setup
@@ -81,6 +81,21 @@ sudo make prefix=$PIUPARTS_PREFIX \
make clean
#
+# install copies of the weather icons
+# to avoid needing FollowSymlinks in the apache config
+#
+for icon in weather-severe-alert.png sunny.png
+do
+ if [ -h $PIUPARTS_HTDOCS/images/$icon ] ; then
+ sudo rm -f $PIUPARTS_HTDOCS/images/$icon
+ fi
+
+ if [ -e /usr/share/icons/Tango/24x24/status/$icon ] ; then
+ sudo cp -f /usr/share/icons/Tango/24x24/status/$icon $PIUPARTS_HTDOCS/images/$icon
+ fi
+done
+
+#
# update $PIUPARTS_PREFIX
#
cd $PIUPARTS_PREFIX
--
piuparts git repository
More information about the Piuparts-commits
mailing list