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
80a770f3
Commit
80a770f3
authored
Feb 22, 2014
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm: fix commands, helps, eatmydata using
parent
4aec1e7b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
14 deletions
+14
-14
epm
bin/epm
+14
-14
No files found.
bin/epm
View file @
80a770f3
#!/bin/sh
#
# Copyright (C) 2012
, 2013
Etersoft
# Copyright (C) 2012
, 2013
Vitaly Lipatov <lav@etersoft.ru>
# Copyright (C) 2012
-2014
Etersoft
# Copyright (C) 2012
-2014
Vitaly Lipatov <lav@etersoft.ru>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
...
...
@@ -58,7 +58,7 @@ print_version()
{
echo
"EPM package manager version @VERSION@"
echo
"Running on
$(
$DISTRVENDOR
)
('
$PMTYPE
' package manager uses '
$PKGFORMAT
' package format)"
echo
"Copyright (c) Etersoft 2012-201
3
"
echo
"Copyright (c) Etersoft 2012-201
4
"
echo
"This program may be freely redistributed under the terms of the GNU AGPLv3."
}
...
...
@@ -148,7 +148,7 @@ check_command()
-qp
|
qp|query_package
)
# HELPCMD: search in the list of installed packages
epm_cmd
=
query_package
;;
-qf
|
qf|which|belongs
)
# HELPCMD: query package(s) owning file
-qf
|
qf|
-S|
which|belongs
)
# HELPCMD: query package(s) owning file
epm_cmd
=
query_file
;;
...
...
@@ -177,10 +177,10 @@ check_command()
-qi
|
qi|info|show
)
# HELPCMD: print package detail info
epm_cmd
=
info
;;
requires|deplist
)
# HELPCMD: print package requires
requires|deplist
|req
)
# HELPCMD: print package requires
epm_cmd
=
requires
;;
provides
)
# HELPCMD: print package provides
provides
|prov
)
# HELPCMD: print package provides
epm_cmd
=
provides
;;
whatdepends
)
# HELPCMD: print packages dependences on that
...
...
@@ -192,10 +192,10 @@ check_command()
conflicts
)
# HELPCMD: print package conflicts
epm_cmd
=
conflicts
;;
-qa
|
list|packages|-l|qa
)
# HELPCMD: list of installed package(s)
-qa
|
list|packages|-l|qa
)
# HELPCMD:
print
list of installed package(s)
epm_cmd
=
packages
;;
programs
)
# HELPCMD: list of installed GUI program(s)
programs
)
# HELPCMD:
print
list of installed GUI program(s)
epm_cmd
=
programs
;;
assure
)
# HELPCMD: <command> <package>: install package if command does not exists
...
...
@@ -232,13 +232,13 @@ check_command()
upgrade|dist-upgrade
)
# HELPCMD: performs upgrades of package software distributions
epm_cmd
=
upgrade
;;
Upgrade
)
# HELPCMD:
performs update && upgrade command
Upgrade
)
# HELPCMD:
force update package base, then run upgrade
epm_cmd
=
Upgrade
;;
simulate
)
# HELPCMD: simulate install
(it does check requires, minimally)
simulate
)
# HELPCMD: simulate install
with check requires
epm_cmd
=
simulate
;;
checkpkg|integrity
)
# HELPCMD: check package
integrity
checkpkg|integrity
)
# HELPCMD: check package
file integrity (checksum)
epm_cmd
=
checkpkg
;;
...
...
@@ -263,7 +263,7 @@ check_option()
--verbose
)
# HELPOPT: verbose mode
verbose
=
1
;;
--skip-installed
)
# HELPOPT: skip already install during install
--skip-installed
)
# HELPOPT: skip already install
ed packages
during install
skip_installed
=
1
;;
--show-command-only
)
# HELPOPT: show command only, do not any action (supports install and remove ONLY)
...
...
@@ -341,9 +341,9 @@ fi
# Use eatmydata for write specific operations
case
$epm_cmd
in
update|upgrade|Upgrade|install|reinstall|Install|remove|
kernel_update|release_upgrade
)
update|upgrade|Upgrade|install|reinstall|Install|remove|
autoremove|kernel_update|release_upgrade|check
)
set_eatmydata
break
;
;
;
esac
# Run helper for command
...
...
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