1
0
Fork 0
mirror of https://git.freebsd.org/ports.git synced 2025-06-20 04:00:41 -04:00
ports/archivers/unfoo/files/patch-unfoo
Max Brazhnikov 1938e368e4 archivers/unfoo: update to 1.0.8
- Follow new upstream
- Switch from p7zip to 7-Zip

PR:		260866
2022-01-10 00:11:27 +03:00

17 lines
679 B
Text

--- unfoo.orig 2014-07-17 08:18:00 UTC
+++ unfoo
@@ -239,11 +239,11 @@ for i in "$@"; do
# Packed with 7zip, thanks Komoto
*.7z)
echo -n"$IAM: Unpacking 7zip archive $ITIS..."
- if [ $(7z l -slt "$i" | grep Path | grep -v "$i" | cut -d' ' -f3 | need_subdir) == 1 ]; then
+ if [ $(7zz l -slt "$i" | grep Path | grep -v "$i" | cut -d' ' -f3 | need_subdir) == 1 ]; then
dirname=$(basename "$i" .7z)
- 7z x -o"$dirname" "$i"
+ 7zz x -o"$dirname" "$i"
else
- 7z x "$i"
+ 7zz x "$i"
fi
check_success
;;