projects
/
iramuteq
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
7fb5b2b
)
...
author
Pierre
<ratinaud@univ-tlse2.fr>
Sun, 13 Jan 2013 20:42:34 +0000
(21:42 +0100)
committer
Pierre
<ratinaud@univ-tlse2.fr>
Sun, 13 Jan 2013 20:42:34 +0000
(21:42 +0100)
checkinstall.py
patch
|
blob
|
history
diff --git
a/checkinstall.py
b/checkinstall.py
index
65af3ff
..
d5c59d1
100644
(file)
--- a/
checkinstall.py
+++ b/
checkinstall.py
@@
-58,6
+58,7
@@
def CreateIraDirectory(UserConfigPath,AppliPath):
os.mkdir(os.path.join(UserConfigPath, 'dictionnaires'))
def CopyConf(self) :
os.mkdir(os.path.join(UserConfigPath, 'dictionnaires'))
def CopyConf(self) :
+ log.info('Copy conf')
DictUser = self.ConfigPath
DictAppli = ConstructConfigPath(self.AppliPath,user=False)
for item, filein in DictUser.iteritems():
DictUser = self.ConfigPath
DictAppli = ConstructConfigPath(self.AppliPath,user=False)
for item, filein in DictUser.iteritems():
@@
-71,6
+72,7
@@
def CopyConf(self) :
shutil.copyfile(DictAppli[item],filein)
dicoUser = self.DictPath
dicoAppli = ConstructDicoPath(self.AppliPath)
shutil.copyfile(DictAppli[item],filein)
dicoUser = self.DictPath
dicoAppli = ConstructDicoPath(self.AppliPath)
+ log.info(dicoAppli)
for fi in dicoUser :
if not os.path.exists(dicoUser[fi]) and os.path.exists(dicoAppli[fi]):
shutil.copyfile(dicoAppli[fi], dicoUser[fi])
for fi in dicoUser :
if not os.path.exists(dicoUser[fi]) and os.path.exists(dicoAppli[fi]):
shutil.copyfile(dicoAppli[fi], dicoUser[fi])