Skip to content

Commit

Permalink
Fix packager script post deinstall.
Browse files Browse the repository at this point in the history
* postremove.sh should be assigned +POST_DEINSTALL literally.
  • Loading branch information
u5surf committed Apr 29, 2023
1 parent 60ae137 commit c797c37
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion scripts/packages/packager/local-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion scripts/packages/packager/signed-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c797c37

Please sign in to comment.