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
f6a31a45
Commit
f6a31a45
authored
Nov 15, 2016
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
small fixes
parent
d4a6985a
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
4 deletions
+7
-4
epm-reinstall
bin/epm-reinstall
+5
-2
epm-repolist
bin/epm-repolist
+1
-1
tools_eget
bin/tools_eget
+1
-1
No files found.
bin/epm-reinstall
View file @
f6a31a45
#!/bin/sh
#!/bin/sh
#
#
# Copyright (C) 2012,2014 Etersoft
# Copyright (C) 2012,2014
,2016
Etersoft
# Copyright (C) 2012,2014 Vitaly Lipatov <lav@etersoft.ru>
# Copyright (C) 2012,2014
,2016
Vitaly Lipatov <lav@etersoft.ru>
#
#
# This program is free software: you can redistribute it and/or modify
# 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
# it under the terms of the GNU Affero General Public License as published by
...
@@ -31,6 +31,9 @@ epm_reinstall_names()
...
@@ -31,6 +31,9 @@ epm_reinstall_names()
aptitude-dpkg
)
aptitude-dpkg
)
sudocmd aptitude reinstall
$@
sudocmd aptitude reinstall
$@
return
;;
return
;;
yum-rpm
)
sudocmd yum reinstall
$@
return
;;
dnf-rpm
)
dnf-rpm
)
sudocmd dnf reinstall
$@
sudocmd dnf reinstall
$@
return
;;
return
;;
...
...
bin/epm-repolist
View file @
f6a31a45
...
@@ -43,7 +43,7 @@ case $PMTYPE in
...
@@ -43,7 +43,7 @@ case $PMTYPE in
print_apt_sources_list /etc/apt/sources.list /etc/apt/sources.list.d/
*
.list
print_apt_sources_list /etc/apt/sources.list /etc/apt/sources.list.d/
*
.list
;;
;;
yum-rpm
)
yum-rpm
)
docmd yum repolist
docmd yum repolist
-v
;;
;;
dnf-rpm
)
dnf-rpm
)
docmd dnf repolist
-v
docmd dnf repolist
-v
...
...
bin/tools_eget
View file @
f6a31a45
...
@@ -42,7 +42,7 @@ fi
...
@@ -42,7 +42,7 @@ fi
# If ftp protocol or have no asterisk, just download
# If ftp protocol or have no asterisk, just download
# TODO: use has()
# TODO: use has()
if
echo
"
$1
"
|
grep
-q
"
\(
^ftp://
\|
[^*]
$
\
)"
;
then
if
echo
"
$1
"
|
grep
-q
"
\(
^ftp://
\|
[^*]
\)
"
;
then
$WGET
$WGET_OPTION_TARGET
"
$1
"
$WGET
$WGET_OPTION_TARGET
"
$1
"
exit
exit
fi
fi
...
...
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