On 16 Oct 2009, at 22:13, Thomas Wagner wrote:

> Calum,
>
> could you share a diff of the changed cbe-install script with us?

Sure, but it's not at all clever or pretty -- it just forces the  
packaging system to 'pkg' regardless of what it really ought to be!

--- desktop-cbe-1.7.0-rc1/cbe-install   2008-06-27 06:49:15.000000000  
+0100
+++ desktop-cbe-1.7.0-rc1-hack/cbe-install      2009-09-30  
19:42:15.442493699 +0100
@@ -1028,6 +1028,9 @@
  # To identify, we check which system was used to install SUNWcs/ 
SUNWcsu
  # Output: set the PKG_SYSTEM variable with either pkg or svr4
  check_pkg_system () {
+    PKG_SYSTEM=pkg
+    return
+
      if [ -x /usr/bin/pkg -a -d /var/pkg/catalog ]; then
        pkg -R $rootdir list SUNWcs > /dev/null 2>&1 && {
            PKG_SYSTEM=pkg


-- 
CALUM BENSON, Interaction Designer     Sun Microsystems Ireland
mailto:calum.benson at sun.com            OpenSolaris Desktop Team
http://blogs.sun.com/calum             +353 1 819 9771

Any opinions are personal and not necessarily those of Sun Microsystems

Reply via email to