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