From f1261acd5913871003f0ac72fa486181f0cf51f5 Mon Sep 17 00:00:00 2001 From: MatMoul Date: Sat, 14 Jan 2023 16:53:48 +0100 Subject: [PATCH] dev --- bin/pkgbuilder | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/bin/pkgbuilder b/bin/pkgbuilder index e57dcb7..ffd9ccc 100755 --- a/bin/pkgbuilder +++ b/bin/pkgbuilder @@ -204,16 +204,8 @@ pkgBuild() { # $1=PKGNAME writeSetting "${PKGDIR}"/"${PKGNAME}"/settings "lastbuildstatus" "Ok" fi local -r PKGTARGET=$(readSetting "${PKGDIR}"/"${PKGNAME}"/settings "target" "") - if [[ "${DRYRUN}" == "0" ]]; then - if [[ "${NOPUSH}" == "0" ]]; then - if [ ! -d "${VARDIR}"/packages/"${PKGTARGET}" ]; then - mkdir -p "${VARDIR}"/packages/"${PKGTARGET}" - fi - cp "${PKGFILENAME}" "${VARDIR}"/packages/"${PKGTARGET}" - fi - fi pkgPush "${PKGNAME}" "${PKGFILENAME}" - rm -r "${WORKDIR}"/.output + rm "${WORKDIR}"/.output/"${PKGNAME}"*.pkg.tar.zst } pkgPush() { # $1=PKGNAME $2=PKGFILE local -r PKGNAME=${1}