[Pkg-wmaker-commits] [wmfrog] 38/145: debian/patches/20-weather.pl-grep-fix.dpatch: rm

Doug Torrance dtorrance-guest at moszumanska.debian.org
Sun Aug 23 05:46:18 UTC 2015


This is an automated email from the git hooks/post-receive script.

dtorrance-guest pushed a commit to branch master
in repository wmfrog.

commit 75eb64cdb18061efe7cc5c314b71a78d7945dd94
Author: Jari Aalto <jari.aalto at cante.net>
Date:   Fri Nov 7 12:40:27 2008 +0200

    debian/patches/20-weather.pl-grep-fix.dpatch: rm
    
    Signed-off-by: Jari Aalto <jari.aalto at cante.net>
---
 debian/patches/20-weather.pl-grep-fix.dpatch | 74 ----------------------------
 1 file changed, 74 deletions(-)

diff --git a/debian/patches/20-weather.pl-grep-fix.dpatch b/debian/patches/20-weather.pl-grep-fix.dpatch
deleted file mode 100755
index 0e48920..0000000
--- a/debian/patches/20-weather.pl-grep-fix.dpatch
+++ /dev/null
@@ -1,74 +0,0 @@
-#! /bin/sh /usr/share/dpatch/dpatch-run
-## /tmp/weather.pl-grep-fix.patch.dpatch by  <jari.aalto at cante.net>
-##
-## All lines beginning with `## DP:' are a description of the patch.
-## DP: ./Src/weather.pl: Check that /tmp/<station> folder exists before grep
-
- at DPATCH@
-
-diff --git a/Src/weather.pl b/Src/weather.pl
-index 6849279..fee14e2 100755
---- a/Src/weather.pl
-+++ b/Src/weather.pl
-@@ -240,32 +240,37 @@ if($dew eq "")
- }
- 
- #check for ok temperature
--open(GREP, "grep Temp $tmpfolder/${station} | ");
--$templine=<GREP>;
--$templine=~m/^Temp:(.*)$/;
-+
-+if ( -d $tmpfolder/$station )
- {
--	$lattemp=$1;
--	if($temp>-50 && $temp<150)
--	{
--		if($lasttemp>-50 && $lasttemp<150)
--		{
--			if($temp>-2 && $temp<2)
--			{
--				if($lasttemp>7 || $lasttemp<-7)
--				{
--					#probably invalid
--					$station="";
--				}
--			}
--		}
--	}
--	else
--	{
--	#invalid
--	$station="";
--	}
-+    open(GREP, "grep Temp $tmpfolder/${station} | ");
-+    $templine=<GREP>;
-+
-+    $templine=~m/^Temp:(.*)$/;
-+    {
-+	    $lattemp=$1;
-+	    if($temp>-50 && $temp<150)
-+	    {
-+		    if($lasttemp>-50 && $lasttemp<150)
-+		    {
-+			    if($temp>-2 && $temp<2)
-+			    {
-+				    if($lasttemp>7 || $lasttemp<-7)
-+				    {
-+					    #probably invalid
-+					    $station="";
-+				    }
-+			    }
-+		    }
-+	    }
-+	    else
-+	    {
-+	    #invalid
-+	    $station="";
-+	    }
-+    }
-+    close GREP;
- }
--close GREP;
- 
- #print "$$station\n";
- if(length($station)==4)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-wmaker/wmfrog.git



More information about the Pkg-wmaker-commits mailing list