Commit 71925fe7 authored by Kai Blin's avatar Kai Blin Committed by Alexandre Julliard

winetools: Fix installing on distributions without a root password.

parent 2e44a3b2
......@@ -244,9 +244,12 @@ then {
if ! su root -c "$sucommand"
then {
if ! su root -c "$sucommand"
echo
echo "Incorrect root password. If you are running Ubuntu or a similar distribution,"
echo "'make install' needs to be run via the sudo wrapper, so trying that one now"
if ! sudo su root -c "$sucommand"
then {
echo
echo
echo "Either you entered an incorrect password or we failed to"
echo "run '$sucommand' correctly."
echo "If you didn't enter an incorrect password then please"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment