2012/6/7 rafael ff1 <rafael.f.f1@gmail.com>
yeah, I gave you this idea. ;) It has some problems, as LMD tried to source ~/.LMD/options (in line 5) before this piece of source. Also, why call "lmd -reconf" instead "lmd -reconf"? - not one of my brightest idea.
* Jajaja, don't worry, it's a better idea than the ones I had XD *
You did not understand. If we are talking about same issue, the problem is not a user permission related.
See below the output I get when ~/.LMD doesn't exist and I run /usr/bin/lmd, installed with your package. This will happen only once, as in the second time ~/.LMD was already created:
$ lmd /usr/bin/lmd: line 5: /home/rafael/.LMD/options: No such file or directory /usr/bin/lmd: line 6: source: /usr/share/lmd/langs/: is a directory /usr/bin/lmd: line 5: /home/rafael/.LMD/options: No such file or directory /usr/bin/lmd: line 6: source: /usr/share/lmd/langs/: is a directory -reconf completed
** (gtkdialog:12958): ERROR **: gtkdialog: Error in line 23, near token '</label>': syntax error
/usr/bin/lmd: line 346: 12958 Trace/breakpoint trap gtkdialog --program=MAIN_DIALOG
Solution to this issue is: replace 'sed' code you mentioned above with the patch I sent to the upstream [1] along with this line: patch -p1 "${pkgdir}"/usr/bin/lmd lmd-run-reconf.patch
[1] http://code.google.com/p/linux-manga-downloader/issues/detail?id=4
Oh ok XD yes I wasn't understood you at all... but yes now I know what do you want to say... thanks for the patch, I'll add the patch to de PKBUILD and hope it works :D sure! cheers!