Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
eepm
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
eepm
Commits
e3cb8ad7
You need to sign in or sign up before continuing.
Commit
e3cb8ad7
authored
Feb 23, 2026
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erc-sh-archive: prefer 7zz (official 7-Zip) over deprecated p7zip
parent
cb806bcd
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
erc-sh-archive
bin/erc-sh-archive
+4
-3
No files found.
bin/erc-sh-archive
View file @
e3cb8ad7
...
...
@@ -26,7 +26,8 @@ have_patool()
set_backend
()
{
HAVE_7Z
=
'7z'
# prefer 7zz (official 7-Zip) over 7z (p7zip, deprecated since 2021)
HAVE_7Z
=
'7zz'
[
"
$ERC_BACKEND
"
=
"patool"
]
&&
use_patool
=
1
[
"
$ERC_BACKEND
"
=
"7z"
]
&&
use_7z
=
1
...
...
@@ -36,8 +37,8 @@ set_backend()
if
[
-n
"
$use_7z
"
]
||
!
have_patool
;
then
# TODO: try install patool and p7zip
if
!
is_command
$HAVE_7Z
;
then
#
7-zip
is_command 7z
z
&&
HAVE_7Z
=
'7z
z'
#
p7zip (deprecated, does not preserve permissions)
is_command 7z
&&
HAVE_7Z
=
'7
z'
fi
if
!
is_command
$HAVE_7Z
;
then
# reduced p7-zip
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment