mirror of
https://github.com/community-scripts/ProxmoxVED.git
synced 2026-03-11 14:06:21 +00:00
Refactor immichframe.sh by removing unnecessary checks
Removed redundant installation verification step and a commented-out line for tar.gz removal.
This commit is contained in:
committed by
GitHub
parent
793c2ded02
commit
11b3f0da35
@@ -24,7 +24,6 @@ function update_script() {
|
||||
check_container_storage
|
||||
check_container_resources
|
||||
|
||||
# Step 1: Verify installation exists
|
||||
if [[ ! -d /app ]]; then
|
||||
msg_error "No ${APP} Installation Found!"
|
||||
exit
|
||||
@@ -60,7 +59,6 @@ function update_script() {
|
||||
cp -r build/* /app/wwwroot
|
||||
|
||||
echo "${RELEASE}" > /app/version.txt
|
||||
#rm -rf /tmp/immichframe.tar.gz "${SRCDIR}"
|
||||
|
||||
msg_info "Starting ${APP} service"
|
||||
service immichframe start &>/dev/null
|
||||
|
||||
Reference in New Issue
Block a user