From 2e070563d21bd65d70f28d3e1818cce18e6f5472 Mon Sep 17 00:00:00 2001 From: simond Date: Thu, 7 Mar 2002 20:38:03 +0000 Subject: [PATCH] Fix to show errors if the plugin dirs can't be found git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@2549 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- config/conf.pl | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/config/conf.pl b/config/conf.pl index 55379038..1f20869b 100755 --- a/config/conf.pl +++ b/config/conf.pl @@ -984,7 +984,14 @@ sub command81 { # sanitize the plugin $dir = $unused_plugins[$ct]; - `./ri_once.pl ../plugins/$dir`; + if (-d "../plugins/$dir") { + `./ri_once.pl ../plugins/$dir`; + } else { + print "Could not locate ../plugins/$dir\n" ; + print "The plugin $dir could *not* be sanitized!\n" ; + print "If you want to try to do this manually, please run\n" ; + print "config/ri_once.pl with the full path to the $dir plugin.\n" ; + } } $ct++; } -- 2.25.1