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
f257ae5e
Commit
f257ae5e
authored
Jul 27, 2022
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
commit packed 3.21.4
parent
9ad4f70b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
4 deletions
+20
-4
epm.sh
packed/epm.sh
+16
-3
serv.sh
packed/serv.sh
+4
-1
No files found.
packed/epm.sh
View file @
f257ae5e
...
@@ -635,13 +635,21 @@ __epm_addrepo_rhel()
...
@@ -635,13 +635,21 @@ __epm_addrepo_rhel()
echo
"Add repo."
echo
"Add repo."
echo
"1. Use with repository URL, f.i. http://www.example.com/example.repo"
echo
"1. Use with repository URL, f.i. http://www.example.com/example.repo"
echo
"2. Use with epel to add EPEL repository"
echo
"2. Use with epel to add EPEL repository"
echo
"3. Use with powertools to add PowerTools repository"
return
1
return
1
fi
fi
case
"
$1
"
in
case
"
$1
"
in
epel
)
epel
)
# dnf -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm
epm
install
epel-release
epm
install
epel-release
return
1
return
1
;;
;;
powertools
)
# https://serverfault.com/questions/997896/how-to-enable-powertools-repository-in-centos-8
epm
install
--skip-installed
dnf-plugins-core
sudocmd dnf config-manager
--set-enabled
powertools
return
1
;;
esac
esac
return
0
return
0
}
}
...
@@ -4226,7 +4234,9 @@ PKGNAMEMASK="\(.*\)-\([0-9].*\)-\(.*[0-9].*\)\.\(.*\)\.\(.*\)"
...
@@ -4226,7 +4234,9 @@ PKGNAMEMASK="\(.*\)-\([0-9].*\)-\(.*[0-9].*\)\.\(.*\)\.\(.*\)"
print_name
()
print_name
()
{
{
echo
"
$@
"
| xargs
-n1
echo
|
sed
-e
"s|
$PKGNAMEMASK4
|
\1
-
\2
-
\3
|"
-e
"s|
$PKGNAMEMASK3
|
\1
|"
# don't change name (false cases)
#echo "$@" | xargs -n1 echo | sed -e "s|$PKGNAMEMASK4|\1-\2-\3|" -e "s|$PKGNAMEMASK3|\1|"
echo
"
$@
"
| xargs
-n1
echo
}
}
print_version
()
print_version
()
...
@@ -9350,6 +9360,9 @@ normalize_name()
...
@@ -9350,6 +9360,9 @@ normalize_name()
"RED OS"
)
"RED OS"
)
echo
"RedOS"
echo
"RedOS"
;;
;;
"Debian GNU/Linux"
)
echo
"Debian"
;;
"CentOS Linux"
)
"CentOS Linux"
)
echo
"CentOS"
echo
"CentOS"
;;
;;
...
@@ -10923,7 +10936,7 @@ Examples:
...
@@ -10923,7 +10936,7 @@ Examples:
print_version
()
print_version
()
{
{
echo
"EPM package manager version 3.21.
3
https://wiki.etersoft.ru/Epm"
echo
"EPM package manager version 3.21.
4
https://wiki.etersoft.ru/Epm"
echo
"Running on
$(
$DISTRVENDOR
-e
)
('
$PMTYPE
' package manager uses '
$PKGFORMAT
' package format)"
echo
"Running on
$(
$DISTRVENDOR
-e
)
('
$PMTYPE
' package manager uses '
$PKGFORMAT
' package format)"
echo
"Copyright (c) Etersoft 2012-2021"
echo
"Copyright (c) Etersoft 2012-2021"
echo
"This program may be freely redistributed under the terms of the GNU AGPLv3."
echo
"This program may be freely redistributed under the terms of the GNU AGPLv3."
...
@@ -10933,7 +10946,7 @@ print_version()
...
@@ -10933,7 +10946,7 @@ print_version()
Usage
=
"Usage: epm [options] <command> [package name(s), package files]..."
Usage
=
"Usage: epm [options] <command> [package name(s), package files]..."
Descr
=
"epm - EPM package manager"
Descr
=
"epm - EPM package manager"
EPMVERSION
=
3.21.
3
EPMVERSION
=
3.21.
4
verbose
=
$EPM_VERBOSE
verbose
=
$EPM_VERBOSE
quiet
=
quiet
=
nodeps
=
nodeps
=
...
...
packed/serv.sh
View file @
f257ae5e
...
@@ -1531,6 +1531,9 @@ normalize_name()
...
@@ -1531,6 +1531,9 @@ normalize_name()
"RED OS"
)
"RED OS"
)
echo
"RedOS"
echo
"RedOS"
;;
;;
"Debian GNU/Linux"
)
echo
"Debian"
;;
"CentOS Linux"
)
"CentOS Linux"
)
echo
"CentOS"
echo
"CentOS"
;;
;;
...
@@ -2247,7 +2250,7 @@ print_version()
...
@@ -2247,7 +2250,7 @@ print_version()
local
on_text
=
"(host system)"
local
on_text
=
"(host system)"
local
virt
=
"
$(
$DISTRVENDOR
-i
)
"
local
virt
=
"
$(
$DISTRVENDOR
-i
)
"
[
"
$virt
"
=
"(unknown)"
]
||
[
"
$virt
"
=
"(host system)"
]
||
on_text
=
"(under
$virt
)"
[
"
$virt
"
=
"(unknown)"
]
||
[
"
$virt
"
=
"(host system)"
]
||
on_text
=
"(under
$virt
)"
echo
"Service manager version 3.21.
3
https://wiki.etersoft.ru/Epm"
echo
"Service manager version 3.21.
4
https://wiki.etersoft.ru/Epm"
echo
"Running on
$(
$DISTRVENDOR
-e
)
$on_text
with
$SERVICETYPE
"
echo
"Running on
$(
$DISTRVENDOR
-e
)
$on_text
with
$SERVICETYPE
"
echo
"Copyright (c) Etersoft 2012-2021"
echo
"Copyright (c) Etersoft 2012-2021"
echo
"This program may be freely redistributed under the terms of the GNU AGPLv3."
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