# *
# * You should have received a copy of the GNU General Public License
# * along with this program; if not, write to the Free Software
-# * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+# * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
# *
use Getopt::Long;
GetOptions("where=s" => \$where,
"what=s" => \$what);
-chdir($ENV{HOME} . "/.sylpheed")
- || die("Can't find your ~/.sylpheed directory\n");
+$what =~ s/\s/%20/g;
+
+chdir($ENV{HOME} . "/.claws-mail")
+ || die("Can't find your ~/.claws-mail directory\n");
open (CONF, "<multiwebsearch.conf")
- || die("Can't open ~/.sylpheed/multiwebsearch.conf\n");
+ || die("Can't open ~/.claws-mail/multiwebsearch.conf\n");
@conflines = <CONF>;
close CONF;
die("No url found with the alias \"$where\"\n");
}
-open (SYLRC, "<sylpheedrc")
- || die("Can't open ~/.sylpheed/sylpheedrc\n");
+open (SYLRC, "<clawsrc")
+ || die("Can't open ~/.claws-mail/clawsrc\n");
@rclines = <SYLRC>;
close SYLRC;