remove 'standalone' declaration
[claws.git] / tools / kmail2sylpheed.pl
index 52789d2adadc86e40c2503ad05e35b6a775228e3..41f6c1f4daa25b992ff8c9d1935c655f5cb5875d 100644 (file)
@@ -14,7 +14,7 @@
 #  *
 #  * 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
 
@@ -32,9 +32,8 @@ $sylph_addr = "<?xml version=\"1.0\" encoding=\"US-ASCII\" ?>\n";
 $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);
 
@@ -187,11 +186,11 @@ foreach $kmailline (@kmaillines) {
 }
 $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;
 
@@ -204,7 +203,7 @@ foreach $addrindex_line (@addrindex_file) {
        }
 }
 
-open (NEWADDRIN, ">.sylpheed/addrbook--index.xml");
+open (NEWADDRIN, ">.sylpheed-claws/addrbook--index.xml");
 print NEWADDRIN "$rewrite_addrin";
 close NEWADDRIN;