diff --git a/README.md b/README.md index 588f726..fad4932 100644 --- a/README.md +++ b/README.md @@ -315,6 +315,7 @@ Authors - Stefan Kaes [@skaes](https://github.com/skaes) - Sebastian Brandt [@sebbrandt87](https://github.com/sebbrandt87) - Hannes Georg [@hannesg](https://github.com/hannesg) +- Julian Tabel [@JTabel](https://github.com/JTabel) License ----------------- diff --git a/fpm-fry.gemspec b/fpm-fry.gemspec index 6a1b87e..68fbcb3 100644 --- a/fpm-fry.gemspec +++ b/fpm-fry.gemspec @@ -1,6 +1,6 @@ Gem::Specification.new do |gem| gem.name = 'fpm-fry' - gem.version = '0.4.4' + gem.version = '0.4.5' gem.date = Time.now.strftime("%Y-%m-%d") gem.summary = "FPM Fry" @@ -12,6 +12,7 @@ Gem::Specification.new do |gem| 'Stefan Kaes', 'Sebastian Brandt', 'Hannes Georg', + 'Julian Tabel' ] gem.email = 'maxime.lagresle@xing.com' gem.homepage = 'https://github.com/xing/fpm-fry' diff --git a/lib/fpm/fry/templates/debian/after_remove.erb b/lib/fpm/fry/templates/debian/after_remove.erb index c02081d..702a826 100644 --- a/lib/fpm/fry/templates/debian/after_remove.erb +++ b/lib/fpm/fry/templates/debian/after_remove.erb @@ -1,7 +1,7 @@ #!/bin/bash case "$1" in - remove) + remove|purge) <%= remove.join("\n") %> ;; upgrade) diff --git a/lib/fpm/fry/templates/debian/before_remove.erb b/lib/fpm/fry/templates/debian/before_remove.erb index c02081d..702a826 100644 --- a/lib/fpm/fry/templates/debian/before_remove.erb +++ b/lib/fpm/fry/templates/debian/before_remove.erb @@ -1,7 +1,7 @@ #!/bin/bash case "$1" in - remove) + remove|purge) <%= remove.join("\n") %> ;; upgrade)