|
|
|
@ -640,10 +640,10 @@ void Config::writeAmarokScript()
|
|
|
|
|
|
|
|
|
|
KStandardDirs* stdDirs = new KStandardDirs();
|
|
|
|
|
if( !TQFile::exists(locateLocal("data","amarok/scripts/soundKonverter/soundKonverter.rb")) ) {
|
|
|
|
|
TDEIO::NetAccess::file_copy( stdDirs->findResource("data","soundkonverter/amarotdescript/soundKonverter.rb"), locateLocal("data","amarok/scripts/soundKonverter/soundKonverter.rb"), 0755, true );
|
|
|
|
|
TDEIO::NetAccess::file_copy( stdDirs->findResource("data","soundkonverter/amarokscript/soundKonverter.rb"), locateLocal("data","amarok/scripts/soundKonverter/soundKonverter.rb"), 0755, true );
|
|
|
|
|
}
|
|
|
|
|
if( !TQFile::exists(locateLocal("data","amarok/scripts/soundKonverter/README")) ) {
|
|
|
|
|
TDEIO::NetAccess::file_copy( stdDirs->findResource("data","soundkonverter/amarotdescript/README"), locateLocal("data","amarok/scripts/soundKonverter/README"), -1, true );
|
|
|
|
|
TDEIO::NetAccess::file_copy( stdDirs->findResource("data","soundkonverter/amarokscript/README"), locateLocal("data","amarok/scripts/soundKonverter/README"), -1, true );
|
|
|
|
|
}
|
|
|
|
|
delete stdDirs;
|
|
|
|
|
}
|
|
|
|
|