Commit 25156b66 authored by André Kerkhoff's avatar André Kerkhoff
Browse files

Substitute $Foswiki::cfg{} when evaluation foswiki_dir()

parent af792921
......@@ -13,6 +13,9 @@ module Foswiki
node_obj['foswiki']['config']["#{name.capitalize}Dir"]
end
return nil if dir.nil?
while dir =~ /\$Foswiki::cfg{/
dir.gsub!(/\$Foswiki::cfg{(\w+)}/, node_obj['foswiki'][$1])
end
dir.gsub(/{install}/, node_obj['foswiki']['install_dir'])
end
......
......@@ -3,7 +3,7 @@ maintainer 'HPC'
maintainer_email 'hpc@gsi.de'
license 'All rights reserved'
description 'Installs/Configures Foswiki'
version '2.1.1'
version '2.1.2'
depends 'apache2', '< 6.0'
supports 'debian'
supports 'ubuntu'
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment