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
Nurlan
eepm
Commits
d367c90b
Commit
d367c90b
authored
Mar 26, 2022
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
commit packed 3.16.0
parent
039099a7
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
6 deletions
+7
-6
epm.sh
packed/epm.sh
+6
-5
serv.sh
packed/serv.sh
+1
-1
No files found.
packed/epm.sh
View file @
d367c90b
...
...
@@ -3675,6 +3675,7 @@ __epm_play_run()
# also we will have DISTRVENDOR there
export
PATH
=
$PROGDIR
:
$PATH
set_sudo
export
SUDO
local
bashopt
=
''
...
...
@@ -3685,7 +3686,7 @@ __epm_play_run()
epm_play
()
{
local
psdir
=
"
$CONFIGDIR
/p
rescription
.d"
local
psdir
=
"
$CONFIGDIR
/p
lay
.d"
if
[
"
$1
"
=
"-h"
]
||
[
"
$1
"
=
"--help"
]
;
then
cat
<<
EOF
...
...
@@ -5893,7 +5894,7 @@ __epm_removerepo_alt_grepremove()
if
[
"
$1
"
=
"all"
]
||
rhas
"
$1
"
"^rpm"
;
then
rl
=
"
$1
"
else
rl
=
"
$(
(
quiet
=
1 epm
repolist
)
2>/dev/null | grep -E "
$1
")"
rl
=
"
$(
(
epm
--quiet
repolist
)
2>/dev/null | grep -E "
$1
")"
[
-z
"
$rl
"
]
&&
warning
"Can't find '
$1
' in the repos (see '# epm repolist' output)"
&&
return
1
fi
echo
"
$rl
"
|
while
read
rp
;
do
...
...
@@ -6461,7 +6462,7 @@ __replace_alt_version_in_repo()
local
i
assure_exists apt-repo
#echo "Upgrading $DISTRNAME from $1 to $2 ..."
apt-repo list |
sed
-e
"s|
\(
$1
\)
|{
\1
}->{
$2
}|g"
|
grep
-E
--color
--
"
$1
"
a
=
''
a
pt-repo list |
sed
-e
"s|
\(
$1
\)
|{
\1
}->{
$2
}|g"
|
grep
-E
--color
--
"
$1
"
# ask and replace only we will have changes
if
a
=
''
apt-repo list |
grep
-E
-q
--
"
$1
"
;
then
__replace_text_in_alt_repo
"/^ *#/! s!
$1
!
$2
!g"
...
...
@@ -10320,7 +10321,7 @@ Examples:
print_version
()
{
echo
"EPM package manager version 3.1
5.3
https://wiki.etersoft.ru/Epm"
echo
"EPM package manager version 3.1
6.0
https://wiki.etersoft.ru/Epm"
echo
"Running on
$(
$DISTRVENDOR
-e
)
('
$PMTYPE
' package manager uses '
$PKGFORMAT
' package format)"
echo
"Copyright (c) Etersoft 2012-2021"
echo
"This program may be freely redistributed under the terms of the GNU AGPLv3."
...
...
@@ -10330,7 +10331,7 @@ print_version()
Usage
=
"Usage: epm [options] <command> [package name(s), package files]..."
Descr
=
"epm - EPM package manager"
EPMVERSION
=
3.1
5.3
EPMVERSION
=
3.1
6.0
verbose
=
$EPM_VERBOSE
quiet
=
nodeps
=
...
...
packed/serv.sh
View file @
d367c90b
...
...
@@ -2981,7 +2981,7 @@ print_version()
local
on_text
=
"(host system)"
local
virt
=
"
$(
$DISTRVENDOR
-i
)
"
[
"
$virt
"
=
"(unknown)"
]
||
[
"
$virt
"
=
"(host system)"
]
||
on_text
=
"(under
$virt
)"
echo
"Service manager version 3.1
5.3
https://wiki.etersoft.ru/Epm"
echo
"Service manager version 3.1
6.0
https://wiki.etersoft.ru/Epm"
echo
"Running on
$(
$DISTRVENDOR
-e
)
$on_text
with
$SERVICETYPE
"
echo
"Copyright (c) Etersoft 2012-2021"
echo
"This program may be freely redistributed under the terms of the GNU AGPLv3."
...
...
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