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
20c91b49
Commit
20c91b49
authored
12 years ago
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add cerv alias for serv support
parent
a49cbdce
master
c7.1
c8
c8.1
devel
n1
new3
p6
p7
p8
r1
todo-packd
todo-serv-user
tt
tt1
Tags unavailable
No related merge requests found
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
11 additions
and
3 deletions
+11
-3
cerv
bin/cerv
+2
-0
epm
bin/epm
+3
-1
serv
bin/serv
+5
-2
eepm.spec
eepm.spec
+1
-0
No files found.
bin/cerv
0 → 120000
View file @
20c91b49
serv
\ No newline at end of file
This diff is collapsed.
Click to expand it.
bin/epm
View file @
20c91b49
...
...
@@ -60,6 +60,7 @@ print_version()
echo
"This program may be freely redistributed under the terms of the GNU AGPLv3."
}
Usage
=
"Usage: epm [options] <command> [package name(s), package files]..."
Descr
=
"epm - EPM package manager"
...
...
@@ -78,6 +79,7 @@ pkg_files=
pkg_names
=
progname
=
"
${
0
##*/
}
"
case
$progname
in
epmi
)
epm_cmd
=
install
...
...
@@ -277,7 +279,7 @@ pkg_filenames=$(strip_spaces "$pkg_files $pkg_names")
if
[
-z
"
$epm_cmd
"
]
;
then
print_version
echo
fatal
"Run
$
epm
--help for get help"
fatal
"Run
$
$progname
--help for get help"
fi
# Run helper for command
...
...
This diff is collapsed.
Click to expand it.
bin/serv
View file @
20c91b49
...
...
@@ -125,7 +125,9 @@ print_version()
echo
"This program may be freely redistributed under the terms of the GNU AGPLv3."
}
Usage
=
"Usage: serv [options] [<service>] [<command>] [params]..."
progname
=
"
${
0
##*/
}
"
Usage
=
"Usage:
$progname
[options] [<service>] [<command>] [params]..."
Descr
=
"serv - Service manager"
set_service_type
...
...
@@ -138,6 +140,7 @@ serv_cmd=
service_name
=
params
=
check_command
()
{
# do not override command
...
...
@@ -227,7 +230,7 @@ echover "command: $serv_cmd"
if
[
"
$serv_cmd
"
!=
"list"
]
&&
[
"
$serv_cmd
"
!=
"list_all"
]
&&
[
-z
"
$service_name
"
]
;
then
print_version
echo
fatal
"Run
$
serv
--help for get help"
fatal
"Run
$
$progname
--help for get help"
fi
if
[
-z
"
$serv_cmd
"
]
;
then
...
...
This diff is collapsed.
Click to expand it.
eepm.spec
View file @
20c91b49
...
...
@@ -51,6 +51,7 @@ install -m 0644 bash_completion/serv %buildroot%_sysconfdir/bash_completion.d/se
%_bindir/eepm
%_bindir/upm
%_bindir/serv
%_bindir/cerv
%_bindir/distr_info
%_datadir/%name/
%_sysconfdir/bash_completion.d/serv
...
...
This diff is collapsed.
Click to expand it.
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