# *
# * 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.
## script name : kmail2sylpheed.pl
$sylph_addr .= "<address-book name=\"Kmail Address Book\" >\n";
chdir;
-#chdir '.sylpheed' || die("You don't appear to have Sylpheed installed\n");
-opendir(SYLPHEED, ".sylpheed") || die("Can't open .sylpheed directory\n");
+opendir(SYLPHEED, ".sylpheed-claws") || die("Can't open .sylpheed-claws directory\n");
push(@cached,(readdir(SYLPHEED)));
closedir(SYLPHEED);
}
$sylph_addr .= "</address-book>\n";
-open (NEWADDR, ">.sylpheed/$new_addrbk");
+open (NEWADDR, ">.sylpheed-claws/$new_addrbk");
print NEWADDR $sylph_addr;
close NEWADDR;
-open (ADDRIN, "<.sylpheed/addrbook--index.xml") || die("can't open addrbook--index.xml");
+open (ADDRIN, "<.sylpheed-claws/addrbook--index.xml") || die("can't open addrbook--index.xml");
@addrindex_file = <ADDRIN>;
close ADDRIN;
}
}
-open (NEWADDRIN, ">.sylpheed/addrbook--index.xml");
+open (NEWADDRIN, ">.sylpheed-claws/addrbook--index.xml");
print NEWADDRIN "$rewrite_addrin";
close NEWADDRIN;