diff --git a/repo-mgmt b/repo-mgmt index f3d3dd4..b4205fa 100755 --- a/repo-mgmt +++ b/repo-mgmt @@ -23,7 +23,6 @@ readonly APKBUILD_GIT_REPO_BASE="https://git.noveria.org/APKBUILD" # Miscellaneous functions ## - function init_local() { if [[ ! -d "${BUILD_DIR}" || ! -d "${REPO_DIR}" || ! -d "${KEYS_DIR}" || ! -f "${PKG_LIST_FILE}" ]]; then message_blue_double_colon "Initializing local directories" @@ -206,7 +205,7 @@ function build_pkgs() { message_blue_single_arrow "Copying package to repo" local VERSION_ID=$(container_run "grep VERSION_ID= /etc/os-release") find $REPO_DIR/v$(echo $VERSION_ID | cut -d= -f2 | rev | cut -d. -f2- | rev)/noveria/x86_64 -name $1*.apk -exec rm -f {} \; - rsync -a --delete-before --progress "${BUILD_DIR}/$pkg"/*.apk "${REPO_DIR}/v$(echo $VERSION_ID | cut -d= -f2 | rev | cut -d. -f2- | rev)/noveria/x86_64" + rsync -a --delete --progress "${BUILD_DIR}/$pkg"/*.apk "${REPO_DIR}/v$(echo $VERSION_ID | cut -d= -f2 | rev | cut -d. -f2- | rev)/noveria/x86_64" rm -f "${BUILD_DIR}/$pkg"/*.apk refresh_repo sign_repo