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
1f7203ea
Commit
1f7203ea
authored
Mar 30, 2023
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
move have_patool and 7z detection to erc-sh-archive
parent
8786c474
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
14 deletions
+16
-14
erc-sh-archive
bin/erc-sh-archive
+16
-2
tools_erc
bin/tools_erc
+0
-12
No files found.
bin/erc-sh-archive
View file @
1f7203ea
#!/bin/bash
#
# Copyright (C) 2013 Etersoft
# Copyright (C) 2013 Vitaly Lipatov <lav@etersoft.ru>
# Copyright (C) 2013
, 2023
Etersoft
# Copyright (C) 2013
, 2023
Vitaly Lipatov <lav@etersoft.ru>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
...
...
@@ -17,6 +17,20 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
have_patool
()
{
# TODO: optimize?
is_command patool
}
HAVE_7Z
=
''
if
!
have_patool
;
then
# TODO: try install patool and p7zip
is_command 7za
&&
HAVE_7Z
=
"7za"
is_command 7z
&&
HAVE_7Z
=
"7z"
fi
list_subformats
()
{
local
i
...
...
bin/tools_erc
View file @
1f7203ea
...
...
@@ -43,18 +43,6 @@ build_target_name()
return
1
}
have_patool
()
{
# TODO: optimize?
is_command patool
}
HAVE_7Z
=
''
if
!
have_patool
;
then
# TODO: try install patool and p7zip
is_command 7za
&&
HAVE_7Z
=
"7za"
is_command 7z
&&
HAVE_7Z
=
"7z"
fi
# TODO: list of $HAVE_7Z supported (see list_formats)
...
...
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