Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
boot-repair / usr / bin / boot-repair
Size: Mime:
#! /bin/bash
# Copyright 2011-2020 Yann MRN
#
# This program is free software: you can redistribute it and/or modify it
# under the terms of the GNU General Public License version 3, as published
# by the Free Software Foundation.
#
# This program is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranties of
# MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR
# PURPOSE. See the GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License along
# with this program. If not, see <http://www.gnu.org/licenses/>.

#Called by user from terminal or via launcher (/usr/bin/boot-repair-pkexec)
for z in boot-info boot-repair os-uninstaller;do
	[[ "$(ps -e | grep ${z}-bin )" ]] && sleep 1 && [[ "$(ps -e | grep ${z}-bin )" ]] && echo "The process $z is already running. Please close it before running boot-repair." && exit
done
/usr/sbin/boot-repair-bin $*
exit