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_storage
|
||||||
check_container_resources
|
check_container_resources
|
||||||
|
|
||||||
# Step 1: Verify installation exists
|
|
||||||
if [[ ! -d /app ]]; then
|
if [[ ! -d /app ]]; then
|
||||||
msg_error "No ${APP} Installation Found!"
|
msg_error "No ${APP} Installation Found!"
|
||||||
exit
|
exit
|
||||||
@@ -60,7 +59,6 @@ function update_script() {
|
|||||||
cp -r build/* /app/wwwroot
|
cp -r build/* /app/wwwroot
|
||||||
|
|
||||||
echo "${RELEASE}" > /app/version.txt
|
echo "${RELEASE}" > /app/version.txt
|
||||||
#rm -rf /tmp/immichframe.tar.gz "${SRCDIR}"
|
|
||||||
|
|
||||||
msg_info "Starting ${APP} service"
|
msg_info "Starting ${APP} service"
|
||||||
service immichframe start &>/dev/null
|
service immichframe start &>/dev/null
|
||||||
|
|||||||
Reference in New Issue
Block a user