Skip to content

Commit

Permalink
Remove plugin directory before extract new version
Browse files Browse the repository at this point in the history
  • Loading branch information
albanpeignier committed Dec 2, 2015
1 parent 8c8c124 commit f08c225
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion manifests/plugin.pp
Expand Up @@ -5,7 +5,7 @@
}
exec { "install-redmine-plugin-$name":
cwd => '/usr/local/share/redmine/plugins/',
command => "unzip ${name}.zip",
command => "rm -rf $name && unzip ${name}.zip",
refreshonly => true,
subscribe => File["/usr/local/share/redmine/plugins/${name}.zip"]
}
Expand Down

0 comments on commit f08c225

Please sign in to comment.