forked from CastroFidel/winehelper
first print_license_agreement before run_autoinstall
This commit is contained in:
@@ -1416,6 +1416,12 @@ wine_run_install () {
|
||||
}
|
||||
|
||||
run_autoinstall () {
|
||||
if [[ $WH_USE_GUI == "1" ]] \
|
||||
&& [[ $(ps -o command= -p "$PPID" | awk '{print $2}') =~ "$DATA_PATH/winehelper_gui.py" ]]
|
||||
then print_ok "Соглашения приняты из графического интерфейса."
|
||||
else print_license_agreement
|
||||
fi
|
||||
|
||||
if [[ $1 == "--clear-pfx" ]] ; then
|
||||
export CLEAR_PREFIX="1"
|
||||
shift
|
||||
|
Reference in New Issue
Block a user