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
6bb238ff
Commit
6bb238ff
authored
Jul 18, 2012
by
Danil Mikhailov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add remove search -qf
parent
ac30006e
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
32 additions
and
1 deletion
+32
-1
epm
bin/epm
+28
-1
epmqf
bin/epmqf
+2
-0
epms
bin/epms
+2
-0
No files found.
bin/epm
View file @
6bb238ff
...
...
@@ -51,6 +51,17 @@ case $progname in
epmi
)
epm_cmd
=
install
;;
epme
)
epm_cmd
=
remove
;;
epms
)
epm_cmd
=
search
;;
epmqf
)
epm_cmd
=
query_file
;;
epm
)
;;
*
)
fatal
"Unknown command:
$progname
"
;;
...
...
@@ -67,6 +78,22 @@ for opt in "$@" ; do
-i
|
install
)
epm_cmd
=
install
;;
-e
|
remove
)
epm_cmd
=
remove
;;
-s
|
search
)
epm_cmd
=
search
;;
-q
)
epm_cmd
=
checkpkg
;;
-qf
)
epm_cmd
=
query_file
;;
-qa
|
list|packages
)
#TODO file packages
epm_cmd
=
packages
;;
*
)
if
[
-f
"
$opt
"
]
;
then
pkg_files
=
"
$pkgfiles
$opt
"
...
...
@@ -96,5 +123,5 @@ epm_cmd_file=$(dirname $0)/epm-$epm_cmd
[
-r
"
$epm_cmd_file
"
]
||
fatal
"Have no
$epm_cmd_file
command file"
.
$epm_cmd_file
e
val
e
pm_
$epm_cmd
epm_
$epm_cmd
bin/epmqf
0 → 120000
View file @
6bb238ff
epm
\ No newline at end of file
bin/epms
0 → 120000
View file @
6bb238ff
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