(self)
return env
Set LD_LIBRARY_PATH for seafile server executables
Set LD_LIBRARY_PATH for seafile server executables
Set LD_LIBRARY_PATH for seafile server executables
def get_binary_env(self):
        '''Set LD_LIBRARY_PATH for seafile server executables'''
        env = dict(os.environ)
        lib_dir = os.path.join(self.install_path, 'seafile', 'lib')
        lib64_dir = os.path.join(self.install_path, 'seafile', 'lib64')
        Utils.prepend_env_value('LD_LIBRARY_PATH', lib_dir, env=env)
        Utils.prepend_env_value('LD_LIBRARY_PATH', lib64_dir, env=env)
        return env
def get_binary_env ( self ) : env = dict ( os . environ ) lib_dir = os . path . join ( self . install_path , 'seafile' , 'lib' ) lib64_dir = os . path . join ( self . install_path , 'seafile' , 'lib64' ) Utils . prepend_env_value ( 'LD_LIBRARY_PATH' , lib_dir , env = env ) Utils . prepend_env_value ( 'LD_LIBRARY_PATH' , lib64_dir , env = env ) return env