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…
Reference in New Issue