Skip to content

Commit 7352cbc

Browse files
authored
fix: updated the composer call (#2864)
1 parent 3dd87d8 commit 7352cbc

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ct/heimdall-dashboard.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,8 @@ function update_script() {
4545
cp -R Heimdall-${VER}/* /opt/Heimdall
4646
cd /opt/Heimdall
4747
$STD apt-get install -y composer
48-
$STD COMPOSER_ALLOW_SUPERUSER=1 composer dump-autoload
48+
export COMPOSER_ALLOW_SUPERUSER=1
49+
$STD composer dump-autoload
4950
echo "${RELEASE}" >/opt/${APP}_version.txt
5051
msg_ok "Updated Heimdall Dashboard to ${RELEASE}"
5152
msg_info "Restoring Data"

0 commit comments

Comments
 (0)