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
3e29b27b
Commit
3e29b27b
authored
Aug 13, 2016
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
small fixes
parent
c6b0f09d
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
7 additions
and
5 deletions
+7
-5
epm
bin/epm
+1
-0
epm-autoorphans
bin/epm-autoorphans
+1
-1
epm-filelist
bin/epm-filelist
+2
-1
epm-install
bin/epm-install
+1
-1
epm-search_file
bin/epm-search_file
+2
-2
No files found.
bin/epm
View file @
3e29b27b
...
...
@@ -239,6 +239,7 @@ check_command()
;;
kernel-update|kernel-upgrade|update-kernel|upgrade-kernel
)
# HELPCMD: update system kernel to the last repo version
epm_cmd
=
kernel_update
;;
remove-old-kernels|remove-old-kernel
)
# HELPCMD: remove old system kernels (exclude current or last two kernels)
epm_cmd
=
remove_old_kernels
;;
...
...
bin/epm-autoorphans
View file @
3e29b27b
...
...
@@ -43,7 +43,7 @@ case $PMTYPE in
apt-dpkg|aptitude-dpkg
)
assure_exists deborphan
showcmd deborphan
a
=
deborphan |
su
docmd epm remove
a
=
deborphan | docmd epm remove
;;
#aura)
# sudocmd aura -Oj
...
...
bin/epm-filelist
View file @
3e29b27b
...
...
@@ -28,6 +28,7 @@ __alt_local_content_filelist()
load_helper epm-sh-altlinux
local
CI
=
"
$(
get_local_alt_contents_index
)
"
[
-n
"
$CI
"
]
||
fatal
"Have no local contents index"
# TODO: safe way to use less
#local OUTCMD="less"
...
...
@@ -35,7 +36,7 @@ __alt_local_content_filelist()
OUTCMD
=
"cat"
{
[
-n
"
$USETTY
"
]
&&
ech
o
"Search in
$CI
for
$1
..."
[
-n
"
$USETTY
"
]
&&
inf
o
"Search in
$CI
for
$1
..."
grep
-h
--
".*
$1
$"
$CI
|
sed
-e
"s|
\(
.*
\)\t\(
.*
\)
|
\1
|g"
}
|
$OUTCMD
}
...
...
bin/epm-install
View file @
3e29b27b
...
...
@@ -194,7 +194,7 @@ epm_ni_install_names()
sudocmd apt-get
-y
$noremove
--force-yes
-o
Dpkg::Options::
=
"--force-confdef"
-o
Dpkg::Options::
=
"--force-confold"
$APTOPTIONS
install
$@
return
;;
aptitude-dpkg
)
sudocmd aptitde
-y
install
$@
sudocmd aptit
u
de
-y
install
$@
return
;;
yum-rpm
)
sudocmd yum
-y
$YUMOPTIONS
install
$@
...
...
bin/epm-search_file
View file @
3e29b27b
...
...
@@ -22,13 +22,13 @@ __alt_local_content_search()
load_helper epm-sh-altlinux
local
CI
=
"
$(
get_local_alt_contents_index
)
"
[
-n
"
$CI
"
]
||
fatal
"Have no local contents index"
#local OUTCMD="less"
#[ -n "$USETTY" ] || OUTCMD="cat"
OUTCMD
=
"cat"
{
[
-n
"
$USETTY
"
]
&&
ech
o
"Search in
$CI
for
$1
..."
[
-n
"
$USETTY
"
]
&&
inf
o
"Search in
$CI
for
$1
..."
# note! tabulation below!
grep
-h
--
".*
$1
.* "
$CI
|
sed
-e
"s|
\(
.*
\)\t\(
.*
\)
|
\2
:
\1
|g"
}
|
$OUTCMD
...
...
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