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
525c6eb3
Commit
525c6eb3
authored
Jan 15, 2026
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm: use named variable instead of $1 in messages
parent
05e30a42
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
16 additions
and
10 deletions
+16
-10
epm-history
bin/epm-history
+3
-2
epm-play
bin/epm-play
+2
-1
epm-prescription
bin/epm-prescription
+2
-1
epm-repofix
bin/epm-repofix
+5
-4
epm-repoindex
bin/epm-repoindex
+2
-1
epm-repomirrors
bin/epm-repomirrors
+2
-1
No files found.
bin/epm-history
View file @
525c6eb3
...
...
@@ -111,9 +111,10 @@ Examples:
epm_history
()
{
local
option
=
"
$1
"
if
[
$PMTYPE
=
"apt-rpm"
]
||
[
$PMTYPE
=
"apm-rpm"
]
;
then
case
"
$
1
"
in
case
"
$
option
"
in
"-h"
|
"--help"
|
"help"
)
# HELPCMD: help
epm_history_help
return
...
...
@@ -137,7 +138,7 @@ if [ $PMTYPE = "apt-rpm" ] || [ $PMTYPE = "apm-rpm" ] ; then
""
)
;;
*
)
fatal
"Unknown option
$1
. Use epm history --help to get help."
fatal
'Unknown option $option. Use epm history --help to get help.'
esac
fi
...
...
bin/epm-play
View file @
525c6eb3
...
...
@@ -679,7 +679,8 @@ case "$1" in
export
EPM_OPTIONS
=
"
$EPM_OPTIONS
--print-url"
;;
-
*
)
fatal
"Unknown option
$1
"
opt
=
"
$1
"
fatal
'Unknown option $opt'
;;
*
)
break
...
...
bin/epm-prescription
View file @
525c6eb3
...
...
@@ -61,7 +61,8 @@ case "$1" in
receipt
)
# HELPCMD: run the prescription
;;
-
*
)
fatal
"Unknown option
$1
"
opt
=
"
$1
"
fatal
'Unknown option $opt'
;;
*
)
break
...
...
bin/epm-repofix
View file @
525c6eb3
...
...
@@ -242,20 +242,21 @@ __epm_repochange_alt()
{
load_helper epm-repomirrors
local
current_mirror
local
current_mirror
mirror
current_mirror
=
$(
__get_current_mirror
)
mirror
=
"
$1
"
case
"
$
1
"
in
case
"
$
mirror
"
in
"--list"
)
__list_mirrors
"
$current_mirror
"
"
$short
"
;;
*
)
local
pattern
pattern
=
"
$(
__alt_mirror_change_pattern
"
$
1
"
)
"
pattern
=
"
$(
__alt_mirror_change_pattern
"
$
mirror
"
)
"
if
[
-n
"
$pattern
"
]
;
then
__change_repo
"
$pattern
"
else
fatal
"Unsupported mirror:
$1
. Use --list to see available mirrors."
fatal
'Unsupported mirror: $mirror. Use --list to see available mirrors.'
fi
;;
esac
...
...
bin/epm-repoindex
View file @
525c6eb3
...
...
@@ -57,7 +57,8 @@ __epm_repoindex_alt()
default_key
=
"--default-key=
$1
"
;;
--
*
)
fatal
"Unknown option
$1
"
opt
=
"
$1
"
fatal
'Unknown option $opt'
;;
*
)
break
...
...
bin/epm-repomirrors
View file @
525c6eb3
...
...
@@ -275,7 +275,8 @@ epm_repomirrors()
opt_speedtest
=
1
;;
*
)
fatal
"Unknown option:
$1
"
opt
=
"
$1
"
fatal
'Unknown option: $opt'
;;
esac
shift
...
...
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