Commit fc144ada authored by Vincent Béron's avatar Vincent Béron Committed by Alexandre Julliard

Actually compile Wine even if not installing as root.

parent 16ae4e6a
......@@ -323,8 +323,9 @@ then {
echo "We need to install wine as root user, do you want us to build wine,"
echo "'su root' and install Wine? Enter 'no' to continue without installing"
conf_yesno_answer "(yes/no) "
ROOTINSTALL="$ANSWER"
if [ "$ANSWER" = "yes" ]
if [ "$ROOTINSTALL" = "yes" ]
then {
# start out with the basic command
sucommand="make install"
......@@ -344,6 +345,8 @@ then {
# run ldconfig always just in case some updated files dont get linked
sucommand="$sucommand;$ac_cv_path_LDCONFIG"
fi
}
fi # [ "$ROOTINSTALL" = "yes" ]
echo
......@@ -364,6 +367,9 @@ then {
fi
}
fi
if [ "$ROOTINSTALL" = "yes" ]
then {
echo
echo "Performing 'make install' as root to install binaries, enter root password"
......@@ -415,7 +421,7 @@ then {
echo "in your logon scripts."
echo
}
fi
fi # [ "$ROOTINSTALL" = "yes" ]
}
fi # [ `whoami` != 'root' ]
......
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