--- psprint/source/printer/printerinfomanager.cxx.orig 2007-12-12 09:56:19.000000000 -0500 +++ psprint/source/printer/printerinfomanager.cxx 2008-02-28 17:46:34.000000000 -0500 @@ -145,12 +145,12 @@ bool bSuccess = false; // try libpaper - #ifdef SOLARIS + #ifdef LINUX // #i78617# workaround missing paperconf command; on e.g. Linux // the 2>/dev/null works on the started shell also - FILE* pPipe = popen( "sh -c paperconf 2>/dev/null", "r" ); - #else FILE* pPipe = popen( "paperconf 2>/dev/null", "r" ); + #else + FILE* pPipe = popen( "sh -c paperconf 2>/dev/null", "r" ); #endif if( pPipe ) {