Skip to content

Commit cfd7dd2

Browse files
build: fix postinst script for linux packages
Signed-off-by: Ar Rakin <[email protected]>
1 parent 28c25f3 commit cfd7dd2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/common/prerm

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ chown -R root:root /var/sudobot
2121
chown -R root:root /etc/sudobot
2222

2323
rm -rf /usr/share/sudobot/node_modules
24+
rm -f /usr/share/sudobot/package-lock.json
25+
2426
rm -f "/run/user/$(id -u sudobot)/sudobot.sock"
2527

2628
if id -u sudobot >/dev/null 2>&1; then

0 commit comments

Comments
 (0)