We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cfeb929 commit b5c0ba1Copy full SHA for b5c0ba1
packaging/conf/dump.rb
@@ -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 != "" }
+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