From 532427eeb5d899f9837369258860e05cdf442711 Mon Sep 17 00:00:00 2001 From: Fabio Manganiello Date: Mon, 23 Oct 2023 21:31:42 +0200 Subject: [PATCH] [CI/CD] The chmod section should be on the `update-apt-repo` step. --- .drone.yml | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/.drone.yml b/.drone.yml index 8192574c7c..e53e69204d 100644 --- a/.drone.yml +++ b/.drone.yml @@ -423,9 +423,6 @@ steps: cp "$GIT_DEB" "$APT_ROOT/pool/$DEB_VERSION/main/$${PKG_NAME}_$${VERSION}-1_all.deb" fi - - chmod -R a+r "$APT_ROOT" - - chmod a+x "$APT_ROOT" - ### ### Update the Debian (oldstable) packages ### @@ -517,9 +514,6 @@ steps: cp "$GIT_DEB" "$APT_ROOT/pool/$DEB_VERSION/main/$${PKG_NAME}_$${VERSION}-1_all.deb" fi - - chmod -R a+r "$APT_ROOT" - - chmod a+x "$APT_ROOT" - ### ### Updates the APT repository after new packages have been pushed ### @@ -697,6 +691,8 @@ steps: mv "$APT_ROOT" "$OLD_APT_ROOT" mv "$TMP_APT_ROOT" "$APT_ROOT" rm -rf "$OLD_APT_ROOT" + chmod -R a+r "$APT_ROOT" + chmod a+x "$APT_ROOT" fi ###