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
|
else
|
||||||
cp -rf $TEMP_DIR/apps/* $BASE_DIR/1panel/resource/apps/local/
|
cp -rf $TEMP_DIR/apps/* $BASE_DIR/1panel/resource/apps/local/
|
||||||
fi
|
fi
|
||||||
|
fi
|
||||||
rm -rf $TEMP_DIR
|
rm -rf $TEMP_DIR
|
||||||
fi
|
|
||||||
Loading…
Reference in New Issue