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
4a8bda41
Commit
4a8bda41
authored
Feb 14, 2013
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm-reinstall: fallback to install if the command is the same
parent
5fc0f441
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
18 deletions
+5
-18
epm-reinstall
bin/epm-reinstall
+5
-18
No files found.
bin/epm-reinstall
View file @
4a8bda41
...
...
@@ -17,6 +17,8 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
load_helper epm-install
# copied from etersoft-build-utils/share/eterbuild/functions/rpmpkg
epm_reinstall_names
()
{
...
...
@@ -25,31 +27,16 @@ epm_reinstall_names()
apt-rpm|apt-dpkg
)
sudocmd apt-get
--reinstall
install
$@
return
;;
yum-rpm
)
sudocmd yum
install
$@
return
;;
dnf-rpm
)
sudocmd dnf reinstall
$@
return
;;
urpm-rpm
)
sudocmd urpmi
$@
return
;;
zypper-rpm
)
sudocmd zypper
install
$@
return
;;
pkgsrc
)
sudocmd pkg_add
-r
$@
return
;;
pacman
)
sudocmd pacman
-U
$@
return
;;
slackpkg
)
sudocmd /usr/sbin/slackpkg reinstall
$@
return
;;
*
)
fatal
"Do not known install command for
$PMTYPE
"
;;
esac
# fallback to generic install
epm_install_names
}
epm_reinstall_files
()
...
...
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