From 9ab8de6faf9f4b2d0b933286b6a49c68f390655b Mon Sep 17 00:00:00 2001 From: Gardouille Date: Fri, 13 Oct 2023 14:12:50 +0200 Subject: [PATCH] Disable patch_justfile as #458 is fixed https://github.com/eza-community/eza/issues/458 --- build-deb.package.sh | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/build-deb.package.sh b/build-deb.package.sh index 756c7ea..b713686 100755 --- a/build-deb.package.sh +++ b/build-deb.package.sh @@ -7,6 +7,7 @@ TARGET="$PWD" export DEBIAN_FRONTEND +# dependencies {{{ dependencies() { # Update system and install basic tools apt-get update -yq && apt-get install -yq aptitude curl git patch wget @@ -20,14 +21,18 @@ dependencies() { apt-get update -yq aptitude --quiet --assume-yes install just } +# }}} +# get_eza_sources {{{ get_eza_sources() { # Clone Eza repo cd "$(mktemp -d)" git clone https://github.com/eza-community/eza cd eza } +# }}} +# Patch sample (from a PR…) {{{ patch_justfile() { # If issue 458 is still open gh_justfile_issue_opened=$(curl --location --no-progress-meter -H "Accept: application/vnd.github+json" -H "X-GitHub-Api-Version: 2022-11-28" \ @@ -54,22 +59,27 @@ patch_justfile() { echo "Case that is not supposed to happen !" fi } +# }}} +# build_eza_deb_package {{{ build_eza_deb_package() { # Build ./devtools/deb-package.sh } +# }}} +# copy builded package {{{ copy() { TARGET_UID="$(stat --printf %u "$TARGET")" TARGET_GID="$(stat --printf %g "$TARGET")" install -o "$TARGET_UID" -g "$TARGET_GID" -t "$TARGET/target" eza_*.deb } +# }}} main() { dependencies get_eza_sources - patch_justfile + #patch_justfile build_eza_deb_package copy }