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
5f5032f7
Commit
5f5032f7
authored
Aug 03, 2012
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add query package (-qp) support
parent
06d1fa50
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
40 additions
and
0 deletions
+40
-0
epm
bin/epm
+9
-0
epm-query_package
bin/epm-query_package
+27
-0
epmqa
bin/epmqa
+2
-0
epmqp
bin/epmqp
+2
-0
No files found.
bin/epm
View file @
5f5032f7
...
@@ -82,6 +82,12 @@ case $progname in
...
@@ -82,6 +82,12 @@ case $progname in
epmqf
)
epmqf
)
epm_cmd
=
query_file
epm_cmd
=
query_file
;;
;;
epmqa
)
epm_cmd
=
packages
;;
epmqp
)
epm_cmd
=
query_package
;;
epm|upm|eepm
)
epm|upm|eepm
)
;;
;;
*
)
*
)
...
@@ -113,6 +119,9 @@ check_command()
...
@@ -113,6 +119,9 @@ check_command()
-qa
|
list|packages
)
# HELPCMD: list of installed package(s)
-qa
|
list|packages
)
# HELPCMD: list of installed package(s)
epm_cmd
=
packages
epm_cmd
=
packages
;;
;;
-qp
|
query_package
)
# HELPCMD: search in the list of installed packages
epm_cmd
=
query_package
;;
update
)
# HELPCMD: update remote package repository databases
update
)
# HELPCMD: update remote package repository databases
epm_cmd
=
update
epm_cmd
=
update
;;
;;
...
...
bin/epm-query_package
0 → 100644
View file @
5f5032f7
#!/bin/sh
#
# Copyright (C) 2012 Etersoft
# Copyright (C) 2012 Vitaly Lipatov <lav@etersoft.ru>
#
# This file is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
#
load_helper epm-packages
epm_query_package
()
{
#showcmd grep --color "$pkg_filenames"
epm_packages |
grep
--color
"
$pkg_filenames
"
}
bin/epmqa
0 → 120000
View file @
5f5032f7
epm
\ No newline at end of file
bin/epmqp
0 → 120000
View file @
5f5032f7
epm
\ No newline at end of file
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