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
c25c457b
Commit
c25c457b
authored
Mar 09, 2021
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
don't require rpm directly
parent
d94ab973
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
5 deletions
+4
-5
epm-optimize
bin/epm-optimize
+1
-1
epm-print
bin/epm-print
+3
-3
check_eepm.log
check_eepm.log
+0
-1
No files found.
bin/epm-optimize
View file @
c25c457b
...
@@ -38,7 +38,7 @@ case $PMTYPE in
...
@@ -38,7 +38,7 @@ case $PMTYPE in
*
-rpm
)
*
-rpm
)
#__repack_rpm_base
#__repack_rpm_base
#rm -f /var/lib/rpm/__db*
#rm -f /var/lib/rpm/__db*
rpm
--rebuilddb
a
=
rpm
--rebuilddb
;;
;;
*
)
*
)
fatal
"Have no suitable command for
$PMTYPE
"
fatal
"Have no suitable command for
$PMTYPE
"
...
...
bin/epm-print
View file @
c25c457b
...
@@ -27,7 +27,7 @@ query_package_field()
...
@@ -27,7 +27,7 @@ query_package_field()
local
INSTALLED
=
"-p"
local
INSTALLED
=
"-p"
# if not file, drop -p for get from rpm base
# if not file, drop -p for get from rpm base
[
-f
"
$1
"
]
||
INSTALLED
=
""
[
-f
"
$1
"
]
||
INSTALLED
=
""
rpmquery
$INSTALLED
--queryformat
"
$FORMAT
"
"
$@
"
a
=
rpmquery
$INSTALLED
--queryformat
"
$FORMAT
"
"
$@
"
}
}
...
@@ -87,7 +87,7 @@ print_srcname()
...
@@ -87,7 +87,7 @@ print_srcname()
print_specname
()
print_specname
()
{
{
# CHECKME: it is possible to have two or more specs in one package?
# CHECKME: it is possible to have two or more specs in one package?
rpm
-qlp
"
$@
"
|
grep
"
\.
spec
\$
"
a
=
rpm
-qlp
"
$@
"
|
grep
"
\.
spec
\$
"
}
}
print_srcpkgname
()
print_srcpkgname
()
...
@@ -121,7 +121,7 @@ print_srcpkgname()
...
@@ -121,7 +121,7 @@ print_srcpkgname()
compare_version
()
compare_version
()
{
{
which rpmevrcmp 2>/dev/null
>
/dev/null
||
fatal
"rpmevrcmp exists in ALT Linux only"
which rpmevrcmp 2>/dev/null
>
/dev/null
||
fatal
"rpmevrcmp exists in ALT Linux only"
rpmevrcmp
"
$@
"
a
=
rpmevrcmp
"
$@
"
}
}
# construct package file name.
# construct package file name.
...
...
check_eepm.log
View file @
c25c457b
...
@@ -5,7 +5,6 @@ file
...
@@ -5,7 +5,6 @@ file
findutils
findutils
grep
grep
less
less
rpm
sed
sed
sudo
sudo
termutils
termutils
...
...
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