From 918a5c9dcb3651475bce97376c5f88e8a625e8b6 Mon Sep 17 00:00:00 2001 From: DragoQC Date: Fri, 5 Dec 2025 12:44:29 -0500 Subject: [PATCH] Fix discopanel.sh Copy now works and multiple udpate supported Used cp -a with . instead of * --- ct/discopanel.sh | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/ct/discopanel.sh b/ct/discopanel.sh index 93d40002a..3084f3afa 100644 --- a/ct/discopanel.sh +++ b/ct/discopanel.sh @@ -55,7 +55,7 @@ function update_script() { msg_info "Restoring Data" mkdir -p /opt/discopanel/data - cp -r /opt/discopanel_backup_last/* /opt/discopanel/data/ + cp -a /opt/discopanel_backup_last/. /opt/discopanel/data/ msg_ok "Restored Data" msg_info "Starting Service" @@ -65,12 +65,3 @@ function update_script() { fi exit } - -start -build_container -description - -msg_ok "Completed Successfully!\n" -echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}" -echo -e "${INFO}${YW} Access it using the following URL:${CL}" -echo -e "${TAB}${GATEWAY}${BGN}http://${IP}:8080${CL}"