1
0
Fork 0

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
1 changed files with 2 additions and 3 deletions

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