Fix prior commit

pull/1/head
Timothy Pearson 12 years ago
parent 0067c3fe9d
commit ad2f8c5183

@ -213,7 +213,7 @@ AC_CONFIG_FILES([ doc/Makefile ])
AC_CONFIG_FILES([ doc/en/Makefile ])
AC_CONFIG_FILES([ po/Makefile ])
AC_CONFIG_FILES([ src/Makefile ])
AC_CONFIG_FILES([ src/amarotdescript/Makefile ])
AC_CONFIG_FILES([ src/amarokscript/Makefile ])
AC_CONFIG_FILES([ src/metadata/Makefile ])
AC_CONFIG_FILES([ src/metadata/aac/Makefile ])
AC_CONFIG_FILES([ src/metadata/ape/Makefile ])

@ -46,13 +46,13 @@ xdg_apps_DATA = soundkonverter.desktop
shellrcdir = $(kde_datadir)/soundkonverter
shellrc_DATA = soundkonverterui.rc
SUBDIRS = amarotdescript metadata pics pluginloader plugins
SUBDIRS = amarokscript metadata pics pluginloader plugins
soundkonverter_DEPENDENCIES = metadata/libmetadata.la \
pluginloader/libpluginloader.la
amarotdescriptsdir = $(kde_datadir)/amarok/scripts
amarokscriptsdir = $(kde_datadir)/amarok/scripts
servicemenusdir = $(kde_datadir)/konqueror/servicemenus
servicemenus_DATA = audiocd_extract_with_soundkonverter.desktop
amarotdescriptdir = $(kde_datadir)/soundkonverter/amarotdescript
amarokscriptdir = $(kde_datadir)/soundkonverter/amarokscript
bin_SCRIPTS = userscript.sh
userscriptdir = $(kde_datadir)/soundkonverter
userscript_SCRIPTS = userscript.sh

@ -1,3 +1,3 @@
amarotdescriptdir = $(kde_datadir)/soundkonverter/amarotdescript
amarotdescript_DATA = README \
amarokscriptdir = $(kde_datadir)/soundkonverter/amarokscript
amarokscript_DATA = README \
soundKonverter.rb

@ -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;
}

Loading…
Cancel
Save