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
639c9b23
Commit
639c9b23
authored
Jun 19, 2013
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
small fixes
parent
8ac0357b
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
6 deletions
+7
-6
epm-autoremove
bin/epm-autoremove
+4
-3
epm-install
bin/epm-install
+0
-1
epm-reinstall
bin/epm-reinstall
+1
-1
epm-upgrade
bin/epm-upgrade
+2
-1
No files found.
bin/epm-autoremove
View file @
639c9b23
...
...
@@ -20,9 +20,10 @@
epm_autoremove
()
{
case
$PMTYPE
in
#apt-rpm)
# sudocmd apt-get autoclean
# ;;
apt-rpm
)
# ALT Linux only
sudocmd remove-old-kernels
;;
apt-dpkg
)
sudocmd apt-get autoremove
;;
...
...
bin/epm-install
View file @
639c9b23
...
...
@@ -94,7 +94,6 @@ epm_install_names()
npackd
)
separate_installed
$@
# FIXME: fix return status
# TODO: use upgrade if package is already installed
[
-n
"
$pkg_noninstalled
"
]
&&
sudocmd npackdcl add
--package
=
$@
$pkg_noninstalled
[
-n
"
$pkg_installed
"
]
&&
sudocmd npackdcl update
--package
=
$@
$pkg_installed
return
;;
...
...
bin/epm-reinstall
View file @
639c9b23
...
...
@@ -36,7 +36,7 @@ epm_reinstall_names()
esac
# fallback to generic install
epm_install_names
epm_install_names
$@
}
epm_reinstall_files
()
...
...
bin/epm-upgrade
View file @
639c9b23
...
...
@@ -24,7 +24,8 @@ epm_upgrade()
case
$PMTYPE
in
apt-rpm|apt-dpkg
)
# FIXME: apt-get update before
# non_interactive
# Функцию добавления параметра при условии
CMD
=
"apt-get dist-upgrade"
;;
yum-rpm
)
...
...
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