From: Milan B. <mil...@gm...> - 2007-01-04 23:36:09
|
Hi, I was installing FB1.5.3 on few machines, and found a small problem. The machines had x0rfbserver running (it provides VNC server for user's current X session, so it is not that uncommon). Anyway, the Firebird's script: scripts/preinstall.sh checks for fbserver/ibserver like this: ps -efww | egrep "(fbserver|fbguard)" | grep -v grep The problem is that "x0rfbserver" contains word "fbserver", and installer refuses to run. I had no trouble fixing it myself, but I suppose some novice users would have a hard time. There are various approaches to the problem. One is to use pidof, for example. Or, grep itself could be improved to detect fbserver only when it is a single word, this seems to work fine: ps -efww | egrep "\b(fbserver|fbguard)\b" | grep -v grep -- Milan Babuskov http://www.flamerobin.org |