We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1b433fe commit 7a5c2faCopy full SHA for 7a5c2fa
packages/common/postinst
@@ -17,7 +17,7 @@ if [ ! -d /var/sudobot ]; then
17
mkdir -p /var/sudobot
18
mkdir -p /var/sudobot/config
19
mkdir -p /var/sudobot/tmp
20
-
+
21
echo "{}" > /var/sudobot/config/config.json
22
echo "{}" > /var/sudobot/config/system.json
23
chmod 644 /var/sudobot/config/config.json
@@ -45,7 +45,7 @@ cd /usr/share/sudobot || {
45
echo "Failed to change directory to /usr/share/sudobot." >&2
46
}
47
48
-su sudobot -c "cd /usr/share/sudobot; PATH=\"$PATH\" BUN_INSTALL=/var/sudobot ./blazew tasks >/dev/null" -s /bin/sh || {
+su sudobot -c "cd /usr/share/sudobot; PATH=\"$PATH\" HOME=/var/sudobot npm install --production" -s /bin/sh || {
49
echo "Failed to setup sudobot." >&2
50
51
0 commit comments