Create folder for external data
This commit is contained in:
parent
8e22886938
commit
a97c17a615
|
@ -0,0 +1,3 @@
|
||||||
|
/var/rougail/patches
|
||||||
|
/var/rougail/templates
|
||||||
|
/var/rougail/manifests
|
|
@ -6,8 +6,11 @@ fichier de configuration pour rougail
|
||||||
from os.path import join, isfile, abspath, dirname
|
from os.path import join, isfile, abspath, dirname
|
||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
|
|
||||||
rougailroot = dirname(abspath(__file__))
|
rougailroot = /var/rougail
|
||||||
dtddir = join(rougailroot, 'data')
|
patch_dir = join(rougailroot, 'patches')
|
||||||
|
manifests_dir = join(rougailroot, 'manifests')
|
||||||
|
templates_dir = join(rougailroot, 'templates')
|
||||||
|
dtddir = join(dirname(abspath(__file__)), 'data')
|
||||||
dtdfilename = join(ddtdir, 'rougail.dtd')
|
dtdfilename = join(ddtdir, 'rougail.dtd')
|
||||||
|
|
||||||
# chemin du répertoire source des fichiers templates
|
# chemin du répertoire source des fichiers templates
|
||||||
|
|
Loading…
Reference in New Issue