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
cf871bc0
Commit
cf871bc0
authored
Jul 17, 2014
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
assure we have a command rpm/dpkg when work with a package file
parent
c12c585e
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
10 additions
and
0 deletions
+10
-0
epm-changelog
bin/epm-changelog
+1
-0
epm-checkpkg
bin/epm-checkpkg
+2
-0
epm-conflicts
bin/epm-conflicts
+1
-0
epm-filelist
bin/epm-filelist
+2
-0
epm-provides
bin/epm-provides
+2
-0
epm-requires
bin/epm-requires
+2
-0
No files found.
bin/epm-changelog
View file @
cf871bc0
...
...
@@ -34,6 +34,7 @@ __epm_changelog_files()
# TODO: detect every file
case
$(
get_package_type
$1
)
in
rpm
)
assure_exists rpm
docmd_foreach
"rpm -p --changelog"
$@
| less
;;
# deb)
...
...
bin/epm-checkpkg
View file @
cf871bc0
...
...
@@ -24,9 +24,11 @@ check_pkg_integrity()
case
$(
get_package_type
$PKG
)
in
rpm
)
assure_exists rpm
docmd rpm
--checksig
$PKG
;;
deb
)
assure_exists dpkg
# FIXME: debsums -ca package ?
docmd dpkg
--contents
$PKG
>
/dev/null
&&
echo
"Package
$PKG
is correct."
;;
...
...
bin/epm-conflicts
View file @
cf871bc0
...
...
@@ -25,6 +25,7 @@ epm_conflicts_files()
case
$(
get_package_type
$pkg_files
)
in
rpm
)
assure_exists rpm
docmd
"rpm -q --conflicts -p"
$pkg_files
;;
#deb)
...
...
bin/epm-filelist
View file @
cf871bc0
...
...
@@ -64,9 +64,11 @@ __epm_filelist_file()
# TODO: allow a new packages
case
$(
get_package_type
$1
)
in
rpm
)
assure_exists rpm
CMD
=
"rpm -qlp"
;;
deb
)
assure_exists dpkg
CMD
=
"dpkg --contents"
;;
*
)
...
...
bin/epm-provides
View file @
cf871bc0
...
...
@@ -27,9 +27,11 @@ epm_provides_files()
case
$PKGTYPE
in
rpm
)
assure_exists rpm
docmd rpm
-q
--provides
-p
$pkg_files
;;
deb
)
assure_exists dpkg
# FIXME: will we provide ourself?
docmd dpkg
-I
$pkg_files
|
grep
"^ *Provides:"
|
sed
"s|^ *Provides:||g"
;;
...
...
bin/epm-requires
View file @
cf871bc0
...
...
@@ -27,9 +27,11 @@ epm_requires_files()
case
"
$PKGTYPE
"
in
rpm
)
assure_exists rpm
docmd rpm
-q
--requires
-p
$pkg_files
;;
deb
)
assure_exists dpkg
a
=
docmd dpkg
-I
$pkg_files
|
grep
"^ *Depends:"
|
sed
"s|^ *Depends:||g"
;;
*
)
...
...
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