mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-04-28 03:40:03 +00:00
fix(pelican-panel): prevent composer superuser prompt (#10418)
This commit is contained in:
parent
62ca1552a8
commit
78b4f44447
2 changed files with 2 additions and 2 deletions
|
|
@ -831,7 +831,7 @@ cleanup_lxc() {
|
|||
# Ruby gem
|
||||
if command -v gem &>/dev/null; then $STD gem cleanup || true; fi
|
||||
# Composer (PHP)
|
||||
if command -v composer &>/dev/null; then COMPOSER_ALLOW_SUPERUSER=1 && $STD composer clear-cache || true; fi
|
||||
if command -v composer &>/dev/null; then COMPOSER_ALLOW_SUPERUSER=1 $STD composer clear-cache || true; fi
|
||||
|
||||
if command -v journalctl &>/dev/null; then
|
||||
$STD journalctl --vacuum-time=10m || true
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue