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
Vladislav
eepm
Commits
52c42443
Commit
52c42443
authored
Nov 03, 2012
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add local CMD where use it, fix indents
parent
33e352f7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
19 additions
and
9 deletions
+19
-9
epm-checkpkg
bin/epm-checkpkg
+1
-0
epm-packages
bin/epm-packages
+1
-0
epm-requires
bin/epm-requires
+2
-1
epm-search
bin/epm-search
+4
-1
epm-search_file
bin/epm-search_file
+2
-1
epm-simulate
bin/epm-simulate
+3
-2
epm-upgrade
bin/epm-upgrade
+6
-4
No files found.
bin/epm-checkpkg
View file @
52c42443
...
...
@@ -25,6 +25,7 @@ check_rpm_integrity()
check_deb_integrity
()
{
# FIXME: debsums -ca package ?
a
=
dpkg
--contents
$@
>
/dev/null
}
...
...
bin/epm-packages
View file @
52c42443
...
...
@@ -20,6 +20,7 @@
epm_packages
()
{
local
CMD
case
$PMTYPE
in
apt-rpm
)
...
...
bin/epm-requires
View file @
52c42443
...
...
@@ -20,7 +20,8 @@
epm_requires
()
{
[
-n
"
$pkg_filenames
"
]
||
fatal
"Run query without names"
local
CMD
[
-n
"
$pkg_filenames
"
]
||
fatal
"Run query without names"
# by file package
case
$PMTYPE
in
...
...
bin/epm-search
View file @
52c42443
...
...
@@ -22,7 +22,8 @@
epm_search
()
{
[
-n
"
$pkg_filenames
"
]
||
fatal
"Run search without names"
local
CMD
[
-n
"
$pkg_filenames
"
]
||
fatal
"Run search without names"
case
$PMTYPE
in
apt-rpm|apt-dpkg
)
...
...
@@ -56,6 +57,8 @@ case $PMTYPE in
CMD
=
"chocolatey list"
;;
slackpkg
)
# FIXME
echo
"FIXME: need case insensitive search"
docmd_foreach
"/usr/sbin/slackpkg search"
$pkg_filenames
return
;;
...
...
bin/epm-search_file
View file @
52c42443
...
...
@@ -43,7 +43,8 @@ local_content_search()
epm_search_file
()
{
[
-n
"
$pkg_filenames
"
]
||
fatal
"Run search without names"
local
CMD
[
-n
"
$pkg_filenames
"
]
||
fatal
"Run search without names"
case
$PMTYPE
in
apt-rpm
)
...
...
bin/epm-simulate
View file @
52c42443
...
...
@@ -23,8 +23,9 @@ load_helper epm-search
_epm_do_simulate
()
{
local
CMD
local
filenames
=
$@
local
CMD
local
filenames
=
$@
case
$PMTYPE
in
apt-rpm|apt-dpkg
)
CMD
=
"apt-get --simulate install"
...
...
bin/epm-upgrade
View file @
52c42443
...
...
@@ -20,8 +20,10 @@
epm_upgrade
()
{
echo
"Run command for upgrade packages"
case
$PMTYPE
in
local
CMD
echo
"Run command for upgrade packages"
case
$PMTYPE
in
apt-rpm|apt-dpkg
)
# FIXME: apt-get update before
CMD
=
"apt-get dist-upgrade"
...
...
@@ -54,7 +56,7 @@ epm_upgrade()
*
)
fatal
"Do not known command for
$PMTYPE
"
;;
esac
esac
sudocmd
$CMD
$pkg_filenames
sudocmd
$CMD
$pkg_filenames
}
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