diff --git a/scripts/packages/packager/local-entrypoint.sh b/scripts/packages/packager/local-entrypoint.sh index 1a764afab..792cf342d 100644 --- a/scripts/packages/packager/local-entrypoint.sh +++ b/scripts/packages/packager/local-entrypoint.sh @@ -13,7 +13,7 @@ mkdir -p /staging/usr/local/etc/rc.d cp nginx-agent.conf /staging/usr/local/etc/nginx-agent cp scripts/packages/nginx-agent /staging/usr/local/etc/rc.d cp scripts/packages/preinstall.sh /staging/+PRE_INSTALL -cp scripts/packages/postremove.sh /staging/+PRE_DEINSTALL +cp scripts/packages/postremove.sh /staging/+POST_DEINSTALL cp scripts/packages/postinstall.sh /staging/+POST_INSTALL cp scripts/packages/plist /staging cp build/nginx-agent /staging/usr/local/bin diff --git a/scripts/packages/packager/signed-entrypoint.sh b/scripts/packages/packager/signed-entrypoint.sh index cfd90d56b..641ac1619 100644 --- a/scripts/packages/packager/signed-entrypoint.sh +++ b/scripts/packages/packager/signed-entrypoint.sh @@ -18,7 +18,7 @@ mkdir -p staging/usr/local/etc/rc.d cp nginx-agent.conf staging/usr/local/etc/nginx-agent cp scripts/packages/nginx-agent staging/usr/local/etc/rc.d cp scripts/packages/preinstall.sh staging/+PRE_INSTALL -cp scripts/packages/postremove.sh staging/+PRE_DEINSTALL +cp scripts/packages/postremove.sh staging/+POST_DEINSTALL cp scripts/packages/postinstall.sh staging/+POST_INSTALL cp scripts/packages/plist staging cp build/nginx-agent staging/usr/local/bin