noosfero | Fixes relations namespaces in Orders and Suppliers plugin (!1110)

Gabriel Silva gitlab at mg.gitlab.com
Wed Feb 15 10:54:21 BRST 2017


New comment for Merge Request !1110 on plugins/orders/install.rb:

https://gitlab.com/noosfero/noosfero/merge_requests/1110#note_23432954

> +  answer = gets.strip.downcase
> +  exit(1) unless answer == 'yes' || answer == 'y'
> +
> +  puts '>>> Adding Noosfero jessie-test to your sources...'
> +  FileUtils.cp(sources_file, '/etc/apt/sources.list.d/')
> +  needs_update = true
> +end
> +
> +unless system 'dpkg -s ruby-axlsx'
> +  puts '>>> Installing ruby-axlsx...'
> +  system 'sudo apt-get update' if needs_update
> +  unless system 'sudo apt-get install -y ruby-axlsx'
> +    exit $?.exitstatus
> +  end
> +end
> +

The same idea as https://gitlab.com/noosfero/noosfero/blob/master/plugins/html5_video/install.rb


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listas.softwarelivre.org/pipermail/noosfero-dev/attachments/20170215/fa64d119/attachment-0001.html>


More information about the Noosfero-dev mailing list