1
0
mirror of git://projects.qi-hardware.com/gmenu2x.git synced 2024-11-23 02:37:30 +02: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"]) if (gmenu2x->confInt["outputLogs"])
command += " &> " + cmdclean(gmenu2x->getHome()) + "/log.txt"; command += " &> " + cmdclean(gmenu2x->getHome()) + "/log.txt";
#endif #endif
#ifdef HAVE_LIBOPK
if (isOPK) if (isOPK)
command += " ; umount -l " + opkMount; command += " ; umount -l " + opkMount;
#endif
if (dontleave) { if (dontleave) {
system(command.c_str()); system(command.c_str());
} else { } else {