--- ./cli.py.orig	2014-06-02 11:02:44.000000000 +0600
+++ ./cli.py	2014-06-02 15:08:07.000000000 +0600
@@ -1,4 +1,4 @@
-#!/usr/bin/python -t
+#!/opt/freeware/bin/python -t
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
 # the Free Software Foundation; either version 2 of the License, or
@@ -1646,10 +1646,10 @@
         if opts.installroot:
             if os.access(opts.installroot+'/'+opts.conffile, os.R_OK):
                 opts.conffile = opts.installroot+'/'+opts.conffile
-            elif opts.conffile == '/etc/yum/yum.conf':
+            elif opts.conffile == '/opt/freeware/etc/yum/yum.conf':
                 # check if /installroot/etc/yum.conf exists.
-                if os.access(opts.installroot+'/etc/yum.conf', os.R_OK):
-                    opts.conffile = opts.installroot+'/etc/yum.conf'         
+                if os.access(opts.installroot+'/opt/freeware/etc/yum.conf', os.R_OK):
+                    opts.conffile = opts.installroot+'/opt/freeware/etc/yum.conf'         
             root=opts.installroot
         else:
             root = '/'
--- ./output.py.orig	2014-06-02 11:02:44.000000000 +0600
+++ ./output.py	2014-06-02 15:36:38.000000000 +0600
@@ -1,4 +1,4 @@
-#!/usr/bin/python -t
+#!/opt/freeware/bin/python -t
 
 """This handles actual output from the cli"""
 
--- ./yum/comps.py.orig	2014-06-02 11:02:45.000000000 +0600
+++ ./yum/comps.py	2014-06-02 17:33:03.000000000 +0600
@@ -1,4 +1,4 @@
-#! /usr/bin/python -tt
+#! /opt/freeware/bin/python -tt
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
 # the Free Software Foundation; either version 2 of the License, or
