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:
parent
9251bd7492
commit
ec8246ebda
@ -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
|
||||
Loading…
x
Reference in New Issue
Block a user