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
5194b88b
Commit
5194b88b
authored
Apr 27, 2024
by
Boria138
Committed by
Vitaly Lipatov
May 01, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add new functions for translate
parent
a6008484
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
2 deletions
+20
-2
epm-provides
bin/epm-provides
+2
-2
epm-sh-functions
bin/epm-sh-functions
+18
-0
No files found.
bin/epm-provides
View file @
5194b88b
...
...
@@ -82,14 +82,14 @@ case $PMTYPE in
if
is_installed
$pkg_names
;
then
CMD
=
"rpm -q --provides"
else
f
atal
"FIXME: use hi level commands or download firstly"
f
ixme
"FIXME: use hi level commands or download firstly"
fi
;;
yum-rpm
)
if
is_installed
$pkg_names
;
then
CMD
=
"rpm -q --provides"
else
f
atal
"FIXME: use hi level commands or download firstly"
f
ixme
"FIXME: use hi level commands or download firstly"
fi
;;
dnf-rpm
)
...
...
bin/epm-sh-functions
View file @
5194b88b
...
...
@@ -339,6 +339,10 @@ echog()
fi
}
message
()
{
echog
"
$*
"
}
# Print error message and stop the program
fatal
()
...
...
@@ -354,6 +358,20 @@ fatal()
exit
1
}
# Print error message and stop the program, skippimg translate
fixme
()
{
local
PROMOMESSAGE
=
"
$EPMPROMOMESSAGE
"
[
-n
"
$PROMOMESSAGE
"
]
||
PROMOMESSAGE
=
" (you can discuss the epm
$EPMVERSION
problem in Telegram: https://t.me/useepm)"
set_color
$RED
>
&2
echo
-n
"ERROR: "
>
&2
restore_color
>
&2
echo
"
$*
$PROMOMESSAGE
"
>
&2
# [ "$TERM" = "screen" ] && echo "(screen detected: waiting ten seconds to exit ...)" >&2 && sleep 10
exit
1
}
# Print debug message
debug
()
{
...
...
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