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
3d1ac884
Commit
3d1ac884
authored
Nov 08, 2019
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove epm_update case in places where we run it
parent
b0293196
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
12 additions
and
33 deletions
+12
-33
epm-Install
bin/epm-Install
+4
-11
epm-Upgrade
bin/epm-Upgrade
+3
-9
epm-full_upgrade
bin/epm-full_upgrade
+1
-7
epm-update
bin/epm-update
+4
-6
No files found.
bin/epm-Install
View file @
3d1ac884
#!/bin/sh
#
# Copyright (C) 2013 Etersoft
# Copyright (C) 2013 Vitaly Lipatov <lav@etersoft.ru>
# Copyright (C) 2013
, 2019
Etersoft
# Copyright (C) 2013
, 2019
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
...
...
@@ -28,16 +28,9 @@ epm_Install()
[
-z
"
$files$names
"
]
&&
info
"Install: Skip empty install list."
&&
return
22
# do update only if really need install something
case
$PMTYPE
in
yum-rpm
)
;;
*
)
(
pkg_filenames
=
''
epm_update
)
||
return
;;
esac
(
pkg_filenames
=
''
epm_update
)
||
return
epm_install_names
$names
||
return
epm_install_files
$files
epm_install_files
$files
}
bin/epm-Upgrade
View file @
3d1ac884
#!/bin/sh
#
# Copyright (C) 2013 Etersoft
# Copyright (C) 2013 Vitaly Lipatov <lav@etersoft.ru>
# Copyright (C) 2013
, 2019
Etersoft
# Copyright (C) 2013
, 2019
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
...
...
@@ -22,13 +22,7 @@ load_helper epm-upgrade
epm_Upgrade
()
{
case
$PMTYPE
in
yum-rpm|dnf-rpm
)
;;
*
)
(
pkg_filenames
=
''
epm_update
)
||
return
;;
esac
(
pkg_filenames
=
''
epm_update
)
epm_upgrade
}
bin/epm-full_upgrade
View file @
3d1ac884
...
...
@@ -23,13 +23,7 @@ load_helper epm-kernel_update
epm_full_upgrade
()
{
case
$PMTYPE
in
yum-rpm|dnf-rpm
)
;;
*
)
(
pkg_filenames
=
''
epm_update
)
||
return
;;
esac
(
pkg_filenames
=
''
epm_update
)
||
return
epm_upgrade
||
return
...
...
bin/epm-update
View file @
3d1ac884
...
...
@@ -48,14 +48,12 @@ case $PMTYPE in
sudocmd aptitude update
||
return
;;
yum-rpm
)
info
"update command is stubbed for yum"
# yum makecache
#sudocmd yum check-update
# just skipped
[
-n
"
$verbose
"
]
&&
info
"update command is stubbed for yum"
;;
dnf-rpm
)
info
"update command is stubbed for dnf"
# dnf makecache
#sudocmd dnf check-update
# just skipped
[
-n
"
$verbose
"
]
&&
info
"update command is stubbed for dnf"
;;
urpm-rpm
)
sudocmd urpmi.update
-a
...
...
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