1
0
mirror of git://projects.qi-hardware.com/gmenu2x.git synced 2024-07-04 20:40:44 +03:00

Fix build when libopk is not present.

This commit is contained in:
Paul Cercueil 2012-10-08 19:46:50 +02:00
parent f6c19d0aa1
commit ef18841eb1

View File

@ -516,8 +516,10 @@ void LinkApp::launch(const string &selectedFile, const string &selectedDir) {
if (gmenu2x->confInt["outputLogs"])
command += " &> " + cmdclean(gmenu2x->getHome()) + "/log.txt";
#endif
#ifdef HAVE_LIBOPK
if (isOPK)
command += " ; umount -l " + opkMount;
#endif
if (dontleave) {
system(command.c_str());
} else {