Skip to content

Commit

Permalink
Fix pacman dependency regex.
Browse files Browse the repository at this point in the history
  • Loading branch information
Romain-Geissler-1A committed Jul 5, 2016
1 parent 398eeaf commit 1cef669
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/fpm/package/pacman.rb
Expand Up @@ -58,7 +58,7 @@ def config_files
end # def config_files

def dependencies
bogus_regex = /[^\sA-Za-z0-9><=-]/
bogus_regex = /[^\sA-Za-z0-9><=+._@-]/
# Actually modifies depencies if they are not right
bogus_dependencies = @dependencies.grep bogus_regex
if bogus_dependencies.any?
Expand Down

0 comments on commit 1cef669

Please sign in to comment.