From 930505ee9aaad34a02f74ecc43a7a0cd4bdf440e Mon Sep 17 00:00:00 2001 From: shtayerc Date: Mon, 14 Oct 2024 18:33:56 +0200 Subject: [PATCH] user/distrobox: update to 1.8.0 --- user/distrobox/patches/tac.patch | 13 +++++++++++++ user/distrobox/template.py | 4 ++-- 2 files changed, 15 insertions(+), 2 deletions(-) create mode 100644 user/distrobox/patches/tac.patch diff --git a/user/distrobox/patches/tac.patch b/user/distrobox/patches/tac.patch new file mode 100644 index 0000000000..b099be8e34 --- /dev/null +++ b/user/distrobox/patches/tac.patch @@ -0,0 +1,13 @@ +diff --git a/distrobox-enter b/distrobox-enter +index 471142b..be4d774 100755 +--- a/distrobox-enter ++++ b/distrobox-enter +@@ -709,7 +709,7 @@ if [ "${unshare_groups:-0}" -eq 1 ]; then + fi + + # Generate the exec command and run it +-cmd="$(generate_enter_command | tac)" ++cmd="$(generate_enter_command | awk '{a[i++]=$0} END {for (j=i-1; j>=0;) print a[j--] }')" + # Reverse it with tac so we can reverse loop and prepend the command's arguments + # to our positional parameters + IFS=' diff --git a/user/distrobox/template.py b/user/distrobox/template.py index b161fef83d..0193b504d0 100644 --- a/user/distrobox/template.py +++ b/user/distrobox/template.py @@ -1,5 +1,5 @@ pkgname = "distrobox" -pkgver = "1.7.2.1" +pkgver = "1.8.0" pkgrel = 0 depends = ["curl", "podman", "polkit"] pkgdesc = "Use any Linux distribution inside your terminal" @@ -7,7 +7,7 @@ license = "GPL-3.0-only" url = "https://distrobox.it" source = f"https://github.com/89luca89/distrobox/archive/{pkgver}.tar.gz" -sha256 = "ff2cca0c6334fff6ed577d23f68a6746ad4009f42d8a45eef5ca3850c895a4bb" +sha256 = "72d8d825b6aad63e03e0b92376e6ead9c053c1e676acab3c7eaac9be2929d0a2" def install(self):