mirror of
https://github.com/agdsn/ancient-weatherstation.git
synced 2026-06-19 14:58:00 +00:00
code cleaned
git-svn-id: file:///home/jan/tmp/wetterstation/trunk@201 dd492736-c11a-0410-ad51-8c26713eaf7f
This commit is contained in:
Vendored
+1
-1
@@ -12,7 +12,7 @@ fi
|
||||
if [ -e /etc/weatherstation/frontend.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
|
||||
echo -n "Lösche Bilderlink ... "
|
||||
echo -n "Loesche Bilderlink ... "
|
||||
/bin/rm -f $LINKNAME
|
||||
echo "done"
|
||||
fi
|
||||
|
||||
Vendored
+1
-1
@@ -7,7 +7,7 @@ IMGDIR=$(grep dflt_image_location /etc/weatherstation/chart.conf | cut -f2)
|
||||
FILES=$(ls -Al $IMGDIR | wc -l)
|
||||
|
||||
if [ $FILES -gt 1 ]; then
|
||||
echo -n "lösche $[$FILES - 1] generierte Bilder ... "
|
||||
echo -n "loesche $[$FILES - 1] generierte Bilder ... "
|
||||
/bin/rm -f $IMGDIR/*
|
||||
echo "done"
|
||||
fi
|
||||
|
||||
Vendored
+1
-1
@@ -5,7 +5,7 @@
|
||||
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
|
||||
echo -n "Lösche Bilderlink ... "
|
||||
echo -n "Loesche Bilderlink ... "
|
||||
/bin/rm -f $LINKNAME
|
||||
echo "done"
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user