|
|
|
@ -139,9 +139,9 @@ class ConfigDialog ( QDialog ):
|
|
|
|
|
|
|
|
|
|
# now the fun part, we run part 1
|
|
|
|
|
fd = os.popen("kde-config --prefix", "r")
|
|
|
|
|
kdedir = fd.readline()
|
|
|
|
|
kdedir = kdedir.strip()
|
|
|
|
|
scriptdir = kdedir + "/share/apps/amarok/scripts/amarok_live"
|
|
|
|
|
tdedir = fd.readline()
|
|
|
|
|
tdedir = tdedir.strip()
|
|
|
|
|
scriptdir = tdedir + "/share/apps/amarok/scripts/amarok_live"
|
|
|
|
|
fd.close()
|
|
|
|
|
|
|
|
|
|
path, iso = self.readConfig()
|
|
|
|
@ -372,9 +372,9 @@ class Remasterer( QApplication ):
|
|
|
|
|
os.system("kdialog --sorry 'You have not configured Amarok live! Please run configure.")
|
|
|
|
|
|
|
|
|
|
fd = os.popen("kde-config --prefix", "r")
|
|
|
|
|
kdedir = fd.readline()
|
|
|
|
|
kdedir = kdedir.strip()
|
|
|
|
|
scriptdir = kdedir + "/share/apps/amarok/scripts/amarok_live"
|
|
|
|
|
tdedir = fd.readline()
|
|
|
|
|
tdedir = tdedir.strip()
|
|
|
|
|
scriptdir = tdedir + "/share/apps/amarok/scripts/amarok_live"
|
|
|
|
|
fd.close()
|
|
|
|
|
|
|
|
|
|
os.system("tdesu sh %s/amarok.live.remaster.part2.sh %s" % (scriptdir, path))
|
|
|
|
|