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
1
Merge Requests
1
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
bc71e072
Commit
bc71e072
authored
2 years ago
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm fatal/warning: colorify only key word
parent
60b48241
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
6 deletions
+8
-6
epm-sh-functions
bin/epm-sh-functions
+8
-6
No files found.
bin/epm-sh-functions
View file @
bc71e072
...
...
@@ -317,9 +317,10 @@ sudoepm()
fatal
()
{
if
[
-z
"
$TEXTDOMAIN
"
]
;
then
set_color
$RED
echo
"Error:
$*
(you can discuss the epm
$EPMVERSION
problem in Telegram: https://t.me/useepm)"
>
&2
restore_color
set_color
$RED
>
&2
echo
-n
"ERROR: "
>
&2
restore_color
>
&2
echo
"
$*
(you can discuss the epm
$EPMVERSION
problem in Telegram: https://t.me/useepm)"
>
&2
# else
# echog "Error in $0: $@" >&2
fi
...
...
@@ -331,9 +332,10 @@ fatal()
warning
()
{
if
[
-z
"
$TEXTDOMAIN
"
]
;
then
set_color
$YELLOW
echo
"Warning:
$*
"
>
&2
restore_color
set_color
$YELLOW
>
&2
echo
-n
"WARNING: "
>
&2
restore_color
>
&2
echo
"
$*
"
>
&2
# else
# echog "Error in $0: $@" >&2
fi
...
...
This diff is collapsed.
Click to expand it.
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