1
0
mirror of https://github.com/agdsn/ancient-weatherstation.git synced 2026-06-19 23:07:59 +00:00

packaging

git-svn-id: file:///home/jan/tmp/wetterstation/trunk@145 dd492736-c11a-0410-ad51-8c26713eaf7f
This commit is contained in:
losinshi
2006-09-27 12:01:56 +00:00
parent 1f9446c451
commit 1a37644c52
9 changed files with 122 additions and 0 deletions
+13
View File
@@ -11,4 +11,17 @@ echo "# nach! #"
echo "####################################################"
echo ""
if [ -e /etc/weatherstation/chart.conf ]; then
LINKNAME="/usr/share/weatherstation-frontend/$(grep default_chart_dir /etc/weatherstation/frontend.conf | cut -f 2 -d "'" | cut -f 2 -d '"')"
if [ ! -e $LINKNAME ]; then
LINKTARGET=$(grep dflt_image_location /etc/weatherstation/chart.conf | cut -f2)
if [ -e $LINKTARGET ]; then
echo -n "Lege Link zu den Bildern an ... "
/bin/ln -s -f $LINKTARGET $LINKNAME
echo "done"
fi
fi
fi
#DEBHELPER#