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
5bd913cc
Commit
5bd913cc
authored
9 years ago
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm: print error for extra unallowed args
parent
ac3eb590
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
24 additions
and
1 deletion
+24
-1
epm-audit
bin/epm-audit
+3
-0
epm-autoorphans
bin/epm-autoorphans
+4
-0
epm-autoremove
bin/epm-autoremove
+4
-0
epm-clean
bin/epm-clean
+4
-0
epm-kernel_update
bin/epm-kernel_update
+1
-1
epm-optimize
bin/epm-optimize
+2
-0
epm-repofix
bin/epm-repofix
+3
-0
epm-update
bin/epm-update
+1
-0
epm-upgrade
bin/epm-upgrade
+2
-0
No files found.
bin/epm-audit
View file @
5bd913cc
...
...
@@ -19,6 +19,9 @@
epm_audit
()
{
[
-z
"
$pkg_filenames
"
]
||
fatal
"No arguments are allowed here"
case
$PMTYPE
in
pkgng
)
sudocmd pkg audit
-F
...
...
This diff is collapsed.
Click to expand it.
bin/epm-autoorphans
View file @
5bd913cc
...
...
@@ -19,6 +19,10 @@
epm_autoorphans
()
{
[
-z
"
$pkg_filenames
"
]
||
fatal
"No arguments are allowed here"
case
$PMTYPE
in
#apt-rpm)
# ALT Linux only
...
...
This diff is collapsed.
Click to expand it.
bin/epm-autoremove
View file @
5bd913cc
...
...
@@ -37,6 +37,10 @@ __epm_autoremove_altrpm()
epm_autoremove
()
{
[
-z
"
$pkg_filenames
"
]
||
fatal
"No arguments are allowed here"
case
$PMTYPE
in
apt-rpm
)
# ALT Linux only
...
...
This diff is collapsed.
Click to expand it.
bin/epm-clean
View file @
5bd913cc
...
...
@@ -36,6 +36,10 @@ __remove_deb_apt_cache_file()
epm_clean
()
{
[
-z
"
$pkg_filenames
"
]
||
fatal
"No arguments are allowed here"
case
$PMTYPE
in
apt-rpm
)
sudocmd apt-get clean
...
...
This diff is collapsed.
Click to expand it.
bin/epm-kernel_update
View file @
5bd913cc
...
...
@@ -24,7 +24,7 @@ epm_kernel_update()
case
$DISTRNAME
in
ALTLinux
)
assure_exists update-kernel
sudocmd update-kernel
sudocmd update-kernel
$pkg_filenames
return
;;
esac
...
...
This diff is collapsed.
Click to expand it.
bin/epm-optimize
View file @
5bd913cc
...
...
@@ -32,6 +32,8 @@ __repack_rpm_base()
epm_optimize
()
{
[
-z
"
$pkg_filenames
"
]
||
fatal
"No arguments are allowed here"
case
$PMTYPE
in
*
-rpm
)
#__repack_rpm_base
...
...
This diff is collapsed.
Click to expand it.
bin/epm-repofix
View file @
5bd913cc
...
...
@@ -31,6 +31,9 @@ __fix_apt_sources_list()
epm_repofix
()
{
[
-z
"
$pkg_filenames
"
]
||
fatal
"No arguments are allowed here"
case
$PMTYPE
in
apt-rpm
)
assure_exists apt-repo
...
...
This diff is collapsed.
Click to expand it.
bin/epm-update
View file @
5bd913cc
...
...
@@ -21,6 +21,7 @@
epm_update
()
{
[
-z
"
$pkg_filenames
"
]
||
fatal
"No arguments are allowed here"
info
"Running command for update remote package repository database"
case
$PMTYPE
in
...
...
This diff is collapsed.
Click to expand it.
bin/epm-upgrade
View file @
5bd913cc
...
...
@@ -23,6 +23,8 @@ epm_upgrade()
{
local
CMD
[
-z
"
$pkg_filenames
"
]
||
fatal
"No arguments are allowed here"
# it is useful for first time running
update_repo_if_needed
...
...
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