fix(coreos-doc): remove the documentation folder if it already exist in DEPLOY_DIR

This commit is contained in:
Samuel Dolt 2022-10-13 15:19:47 +02:00
parent a462310df9
commit a6f33081eb
1 changed files with 1 additions and 0 deletions

View File

@ -23,6 +23,7 @@ do_install() {
# Deploy to build/tmp/deploy/documentation
do_deploy() {
rm -rf ${DEPLOY_DIR}/documentation
cp --no-preserve=ownership -r ${B} ${DEPLOY_DIR}/documentation
}