Skip to content

Commit b5c0ba1

Browse files
committed
packaging: added Mamonsu 3 template examples, updated current templates to 3.2.1
1 parent cfeb929 commit b5c0ba1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packaging/conf/dump.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
require 'nokogiri'; data = File.read('template.xml'); doc = Nokogiri::XML(data); doc.xpath('//item').each {|e| item_doc = Nokogiri::XML(e.to_s); name = item_doc.xpath('//name').to_s; key = item_doc.xpath('//key').to_s; puts "'#{name}': #{key}".sub('<key>', '').sub('</key>','').sub('<name>','').sub('</name>', '').sub('<name>App-PostgresPro-Linux</name>','') if name != "" }
1+
require 'nokogiri'; data = File.read('template.xml'); doc = Nokogiri::XML(data); doc.xpath('//item').each {|e| item_doc = Nokogiri::XML(e.to_s); name = item_doc.xpath('//name').to_s; key = item_doc.xpath('//key').to_s; puts "'#{name}': #{key}".sub('<key>', '').sub('</key>','').sub('<name>','').sub('</name>', '').sub('<name>Mamonsu PostgreSQL Linux</name>','') if name != "" }

0 commit comments

Comments
 (0)