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
Vladislav
eepm
Commits
0eb1eb61
Commit
0eb1eb61
authored
Apr 10, 2023
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ercat: use is_command instead of which
parent
3b75196c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
tools_ercat
bin/tools_ercat
+2
-2
No files found.
bin/tools_ercat
View file @
0eb1eb61
...
...
@@ -50,7 +50,7 @@ $(get_help HELPOPT)
print_version
()
{
echo
"Etersoft uncompressor version @VERSION@"
echo
"Copyright (c) Etersoft 2013, 2020"
echo
"Copyright (c) Etersoft 2013, 2020
, 2023
"
echo
"This program may be freely redistributed under the terms of the GNU AGPLv3."
}
...
...
@@ -62,7 +62,7 @@ regular_unpack()
local
opt
=
"
$4
"
# instead of epm assure
if
!
which
"
$prg
"
>
/dev/null 2>/dev/null
;
then
if
!
is_command
"
$prg
"
;
then
epm assure
$prg
$pkg
||
fatal
"Try install
$pkg
package for
$prg
unpack command."
fi
...
...
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