[devscripts] 02/03: rc-alert: Remove handling of old cache location

James McCoy jamessan at debian.org
Fri Sep 8 04:17:21 UTC 2017


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

jamessan pushed a commit to branch master
in repository devscripts.

commit 020f73f16e1dab12b4b263c26a41c2585ce196ca
Author: James McCoy <jamessan at debian.org>
Date:   Thu Sep 7 23:47:24 2017 -0400

    rc-alert: Remove handling of old cache location
    
    Signed-off-by: James McCoy <jamessan at debian.org>
---
 scripts/rc-alert.pl | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

diff --git a/scripts/rc-alert.pl b/scripts/rc-alert.pl
index bc6d724..331bddd 100755
--- a/scripts/rc-alert.pl
+++ b/scripts/rc-alert.pl
@@ -178,14 +178,9 @@ if (system("command -v wget >/dev/null 2>&1") == 0) {
     die "$progname: this program requires either the wget or curl package to be installed\n";
 }
 
-# TODO: Remove oldcache handling post-Stretch
-my $oldcache = File::Spec->catfile($ENV{HOME}, '.devscripts_cache', 'all.html');
 if (! -d $cachedir) {
-    if (-f $oldcache || $forcecache) {
+    if ($forcecache) {
 	make_path($cachedir);
-	if (-f $oldcache) {
-	    move($oldcache, $cachefile);
-	}
     }
 }
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/collab-maint/devscripts.git



More information about the devscripts-devel mailing list