1
0
mirror of https://github.com/pooneyy/1Panel-Appstore.git synced 2026-03-18 07:01:02 +08:00

fix(update_local_appstore): optimize temporary directory cleanup logic

- move temporary directory cleanup outside of conditional block
- ensure cleanup always runs regardless of previous conditions
This commit is contained in:
pooneyy 2026-03-03 13:53:54 +08:00
parent 9251bd7492
commit ec8246ebda
No known key found for this signature in database

View File

@ -189,6 +189,5 @@ else
else
cp -rf $TEMP_DIR/apps/* $BASE_DIR/1panel/resource/apps/local/
fi
rm -rf $TEMP_DIR
fi
fi
rm -rf $TEMP_DIR