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
889b29e3
Commit
889b29e3
authored
Oct 26, 2012
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
small fixes, make for vars local
parent
d9f25d6d
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
10 additions
and
13 deletions
+10
-13
epm-checkpkg
bin/epm-checkpkg
+3
-3
epm-install
bin/epm-install
+1
-0
epm-query_file
bin/epm-query_file
+5
-6
epm-repolist
bin/epm-repolist
+1
-0
epm-requires
bin/epm-requires
+0
-4
No files found.
bin/epm-checkpkg
View file @
889b29e3
...
...
@@ -82,8 +82,8 @@ check_pkg_integrity()
epm_checkpkg
()
{
[
-n
"
$pkg_files
"
]
||
fatal
"Run without names"
for
i
in
$pkg_files
;
do
check_pkg_integrity
$
i
||
fatal
"Broken package
$i
"
local
pkg
for
pkg
in
$pkg_files
;
do
check_pkg_integrity
$
pkg
||
fatal
"Broken package
$pkg
"
done
}
bin/epm-install
View file @
889b29e3
...
...
@@ -23,6 +23,7 @@ filter_out_installed_packages()
{
[
-z
"
$skip_installed
"
]
&&
cat
&&
return
# TODO: rewrite with use epm_query
# TODO: use this more effectively way
#for i in $(cat) ; do
# rpm -q $i >/dev/null && continue
...
...
bin/epm-query_file
View file @
889b29e3
...
...
@@ -49,7 +49,7 @@ real_file()
dpkg_print_name_version
()
{
local
ver
local
ver
i
for
i
in
$*
;
do
ver
=
$(
dpkg
-s
$i
2>/dev/null |
grep
"Version:"
|
sed
-e
"s|Version: ||g"
)
if
[
-z
"
$ver
"
]
;
then
...
...
@@ -101,10 +101,9 @@ epm_query_file()
# file can exists or not
[
-n
"
$pkg_filenames
"
]
||
fatal
"Run query without file names"
for
i
in
$pkg_filenames
;
do
real_file
"
$i
"
__do_query
$FULLFILEPATH
||
pkg_filenames
=
$i
epm_search_file
done
for
pkg
in
$pkg_filenames
;
do
real_file
"
$pkg
"
__do_query
$FULLFILEPATH
||
pkg_filenames
=
$pkg
epm_search_file
done
}
bin/epm-repolist
View file @
889b29e3
...
...
@@ -20,6 +20,7 @@
print_apt_sources_list
()
{
local
i
for
i
in
$@
;
do
test
-r
"
$i
"
||
continue
#echo
...
...
bin/epm-requires
View file @
889b29e3
...
...
@@ -18,10 +18,6 @@
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
#
load_helper epm-packages
# TODO: combine with -qa (the difference only in return status now)
epm_requires
()
{
[
-n
"
$pkg_filenames
"
]
||
fatal
"Run query without names"
...
...
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