lib/dockly/deb.rb in dockly-0.0.6 vs lib/dockly/deb.rb in dockly-0.0.7
- old
+ new
@@ -90,13 +90,13 @@
add_files(@dir_package)
debug "converting to deb"
@deb_package = @dir_package.convert(FPM::Package::Deb)
- @deb_package.scripts[:prein] = pre_install
- @deb_package.scripts[:postin] = post_install
- @deb_package.scripts[:preun] = pre_uninstall
- @deb_package.scripts[:postun] = post_uninstall
+ @deb_package.scripts[:before_install] = pre_install
+ @deb_package.scripts[:after_install] = post_install
+ @deb_package.scripts[:before_remove] = pre_uninstall
+ @deb_package.scripts[:after_remove] = post_uninstall
@deb_package.name = package_name
@deb_package.version = version
@deb_package.iteration = release
@deb_package.architecture = arch