2007-11-09 08:48:01 -08:00
|
|
|
#! /usr/bin/env python
|
|
|
|
# encoding: utf-8
|
|
|
|
#
|
|
|
|
# Copyright (C) 2007 Richard Hughes <richard@hughsie.com>
|
|
|
|
#
|
|
|
|
# Licensed under the GNU General Public License Version 2
|
|
|
|
# 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
|
|
|
|
# (at your option) any later version.
|
|
|
|
|
2007-11-09 15:08:19 -08:00
|
|
|
import misc
|
|
|
|
|
|
|
|
#set the default backend in the installed config file
|
|
|
|
obj=bld.create_obj('subst')
|
|
|
|
obj.source = 'PackageKit.conf.in'
|
|
|
|
obj.target = 'PackageKit.conf'
|
|
|
|
#TODO: need to get this from wscript
|
|
|
|
obj.dict = {'defaultbackend': 'default_backend'}
|
|
|
|
obj.fun = misc.subst_func
|
2007-11-10 07:13:58 -08:00
|
|
|
obj.install_var = 'SYSCONFDIR'
|
|
|
|
obj.install_subdir = 'PackageKit'
|
2007-11-09 08:48:01 -08:00
|
|
|
|