Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

user/distrobox: update to 1.8.0 #3075

Merged
merged 1 commit into from
Nov 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions user/distrobox/patches/tac.patch
Original file line number Diff line number Diff line change
@@ -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--] }')"
nekopsykose marked this conversation as resolved.
Show resolved Hide resolved
# Reverse it with tac so we can reverse loop and prepend the command's arguments
# to our positional parameters
IFS='
4 changes: 2 additions & 2 deletions user/distrobox/template.py
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
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"
maintainer = "Jami Kettunen <[email protected]>"
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):
Expand Down