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
a45b1bc8
Commit
a45b1bc8
authored
May 15, 2025
by
Nurlan
Committed by
Vitaly Lipatov
May 15, 2025
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erc-sh-archive: Use 7za only if there is no 7z (eterbug #18296)
parent
7c39280f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
erc-sh-archive
bin/erc-sh-archive
+4
-1
No files found.
bin/erc-sh-archive
View file @
a45b1bc8
...
@@ -35,7 +35,6 @@ set_backend()
...
@@ -35,7 +35,6 @@ set_backend()
if
[
-n
"
$use_7z
"
]
||
!
have_patool
;
then
if
[
-n
"
$use_7z
"
]
||
!
have_patool
;
then
# TODO: try install patool and p7zip
# TODO: try install patool and p7zip
is_command 7za
&&
HAVE_7Z
=
'7za'
if
!
is_command
$HAVE_7Z
;
then
if
!
is_command
$HAVE_7Z
;
then
# 7-zip
# 7-zip
is_command 7zz
&&
HAVE_7Z
=
'7zz'
is_command 7zz
&&
HAVE_7Z
=
'7zz'
...
@@ -44,6 +43,10 @@ set_backend()
...
@@ -44,6 +43,10 @@ set_backend()
# reduced p7-zip
# reduced p7-zip
is_command 7zr
&&
HAVE_7Z
=
'7zr'
is_command 7zr
&&
HAVE_7Z
=
'7zr'
fi
fi
if
!
is_command
$HAVE_7Z
;
then
# 7-zip Standalone/Alternative
is_command 7za
&&
HAVE_7Z
=
'7za'
fi
is_command
$HAVE_7Z
||
fatal
"Could not find any patool or 7-zip backend. Please install p7zip package and retry."
is_command
$HAVE_7Z
||
fatal
"Could not find any patool or 7-zip backend. Please install p7zip package and retry."
fi
fi
[
-z
"
$force
"
]
||
HAVE_7Z
=
"
$HAVE_7Z
-y"
[
-z
"
$force
"
]
||
HAVE_7Z
=
"
$HAVE_7Z
-y"
...
...
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