mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-09-27 06:37:16 +02:00
Pelican-Panel: add php artisan p:environment:database (#16397)
This commit is contained in:
committed by
GitHub
parent
a755db8f0f
commit
c396fa0e65
+3
-3
@@ -50,12 +50,12 @@ function update_script() {
|
||||
cp -a /opt/pelican-panel/.env /opt/backup
|
||||
mkdir -p /opt/backup/storage/app/
|
||||
cp -a /opt/pelican-panel/storage/app/public /opt/backup/storage/app/
|
||||
|
||||
|
||||
SQLITE_INSTALL=$(ls /opt/pelican-panel/database/*.sqlite 1>/dev/null 2>&1 && echo "true" || echo "false")
|
||||
$SQLITE_INSTALL && cp -r /opt/pelican-panel/database/*.sqlite /opt/backup
|
||||
|
||||
|
||||
find /opt/pelican-panel -mindepth 1 -maxdepth 1 ! -name 'backup' ! -name 'plugins' -exec rm -rf {} +
|
||||
|
||||
|
||||
fetch_and_deploy_gh_release "pelican-panel" "pelican-dev/panel" "prebuild" "latest" "/opt/pelican-panel" "panel.tar.gz"
|
||||
|
||||
msg_info "Updating Pelican Panel"
|
||||
|
||||
Reference in New Issue
Block a user