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
64087b6c
Commit
64087b6c
authored
Sep 16, 2024
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
improve messages
parent
7b111989
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
20 additions
and
17 deletions
+20
-17
epm-Install
bin/epm-Install
+1
-1
epm-download
bin/epm-download
+4
-1
epm-install
bin/epm-install
+3
-3
epm-repack
bin/epm-repack
+1
-1
epm-simulate
bin/epm-simulate
+1
-1
eepm.po
po/eepm.po
+10
-10
No files found.
bin/epm-Install
View file @
64087b6c
...
...
@@ -26,7 +26,7 @@ epm_Install()
local
names
=
"
$(
echo
$pkg_names
| filter_out_installed_packages
)
"
local
files
=
"
$(
echo
$pkg_files
| filter_out_installed_packages
)
"
[
-z
"
$files$names
"
]
&&
info
"Install:
Skip empty install list
."
&&
return
22
[
-z
"
$files$names
"
]
&&
info
"Install:
Empty install list was skipped
."
&&
return
22
epm_update
||
{
[
-n
"
$force
"
]
||
return
;
}
...
...
bin/epm-download
View file @
64087b6c
...
...
@@ -72,7 +72,10 @@ __check_if_wildcard_downloading()
is_wildcard
"
$mask
"
||
return
1
local
fn
fn
=
"
$(
docmd eget
--list
"
$url
"
| xargs
-n1
basename
)
"
fn
=
"
$(
docmd eget
--list
"
$url
"
| xargs
-n1
basename
2>/dev/null
)
"
# just return if there is no answer
[
-n
"
$fn
"
]
||
return
0
local
wf
=
"
$(
epm print shortname from filename
$fn
|
wc
-l
)
"
local
ws
=
"
$(
epm print shortname from filename
$fn
|
sort
-u
|
wc
-l
)
"
# not the same package of various versions
...
...
bin/epm-install
View file @
64087b6c
...
...
@@ -477,7 +477,7 @@ epm_install()
__handle_pkg_urls_to_install
fi
[
-z
"
$pkg_files$pkg_names
"
]
&&
info
"
Skip empty install list
"
&&
return
22
[
-z
"
$pkg_files$pkg_names
"
]
&&
info
"
Empty install list was skipped
"
&&
return
22
# to be filter happy
warmup_lowbase
...
...
@@ -490,7 +490,7 @@ epm_install()
# can be empty only after all installed packages were skipped
if
[
-z
"
$files$names
"
]
;
then
# TODO: assert $skip_installed
[
-n
"
$verbose
"
]
&&
info
"
Skip empty install list
(filtered out, all requested packages is already installed)"
[
-n
"
$verbose
"
]
&&
info
"
Empty install list was skipped
(filtered out, all requested packages is already installed)"
# FIXME: see to_remove below
return
0
fi
...
...
@@ -511,7 +511,7 @@ epm_install()
;;
esac
[
-z
"
$files
"
]
&&
debug
"
Skip empty install files list
"
&&
return
0
[
-z
"
$files
"
]
&&
debug
"
Empty install files list was skipped
"
&&
return
0
if
[
-n
"
$download_only
"
]
;
then
# save files to the current dir before install and repack
...
...
bin/epm-repack
View file @
64087b6c
...
...
@@ -225,7 +225,7 @@ epm_repack()
fi
[
-n
"
$pkg_names
"
]
&&
warning
'Can'
\'
't find $pkg_names files'
[
-z
"
$pkg_files
"
]
&&
info
"
Skip empty repack list
"
&&
return
22
[
-z
"
$pkg_files
"
]
&&
info
"
Empty repack list was skipped
"
&&
return
22
if
__epm_repack
$pkg_files
&&
[
-n
"
$repacked_pkgs
"
]
;
then
if
[
-n
"
$install
"
]
;
then
...
...
bin/epm-simulate
View file @
64087b6c
...
...
@@ -148,7 +148,7 @@ EOF
epm_simulate
()
{
[
-z
"
$pkg_filenames
"
]
&&
info
"Simulate:
Skip
empty list"
&&
return
22
[
-z
"
$pkg_filenames
"
]
&&
info
"Simulate:
skipped due
empty list"
&&
return
22
local
filenames
=
"
$(
echo
$pkg_filenames
| filter_out_installed_packages
)
"
...
...
po/eepm.po
View file @
64087b6c
...
...
@@ -1164,20 +1164,20 @@ msgid "Have no suitable appropriate install command for $PMTYPE"
msgstr "Нет подходящей команды для установки для $PMTYPE"
#: ../bin/epm-install:477
msgid "
Skip empty install list
"
msgstr "Пропус
тить
пустой список для установки"
msgid "
Empty install list was skipped
"
msgstr "Пропус
каем
пустой список для установки"
#: ../bin/epm-install:490
msgid ""
"
Skip empty install list
(filtered out, all requested packages is already "
"
Empty install list was skipped
(filtered out, all requested packages is already "
"installed)"
msgstr ""
"Пропус
тить
пустой список для установки (отфильтровано, все запрошенные "
"Пропус
каем
пустой список для установки (отфильтровано, все запрошенные "
"пакеты уже установлены)"
#: ../bin/epm-install:511
msgid "
Skip empty install files list
"
msgstr "Пропус
тить
пустой список файлов для установки"
msgid "
Empty install files list was skipped
"
msgstr "Пропус
каем
пустой список файлов для установки"
#: ../bin/epm-reinstall:37
msgid "Please send me the correct command form for it"
...
...
@@ -1681,8 +1681,8 @@ msgid "Can't find $pkg_names files"
msgstr "Не удается найти файлы $pkg_names"
#: ../bin/epm-repack:228
msgid "
Skip empty repack list
"
msgstr "Пропу
стить пустой список переупаковок
"
msgid "
Empty repack list was skipped
"
msgstr "Пропу
щен пустой список переупаковки
"
#: ../bin/epm-repack:239
msgid "Adapted packages:"
...
...
@@ -2245,8 +2245,8 @@ msgstr ""
"пакетов."
#: ../bin/epm-Install:29
msgid "Install:
Skip empty install list.
"
msgstr "Установка: пропу
стить
пустой список установки."
msgid "Install:
Empty install list was skipped
"
msgstr "Установка: пропу
щен
пустой список установки."
#: ../bin/epm-query_package:30
msgid ""
...
...
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