- t="/usr/lib/xulrunner-1.9" + t="/usr/lib/xulrunner-1.9.1.2" test -r "$t/libxpcom.so" && d="$t" - t="`dpkg -L xulrunner-1.9 |grep libxpcom.so|cut -d '/' -f-4`" + t="`dpkg -L xulrunner-1.9.1 |grep libxpcom.so|cut -d '/' -f-4`"
Thats kind of ugly approach. Better approach is:
/usr/lib/xulrunner-`xulrunner-1.9.1 --gre-version`
- t="/usr/ lib/xulrunner- 1.9" lib/xulrunner- 1.9.1.2"
+ t="/usr/
test -r "$t/libxpcom.so" && d="$t"
- t="`dpkg -L xulrunner-1.9 |grep libxpcom.so|cut -d '/' -f-4`"
+ t="`dpkg -L xulrunner-1.9.1 |grep libxpcom.so|cut -d '/' -f-4`"
Thats kind of ugly approach. Better approach is:
/usr/lib/ xulrunner- `xulrunner- 1.9.1 --gre-version`