forked from CastroFidel/winehelper
disabled print_license_agreement to enumerate scripts
This commit is contained in:
11
winehelper
11
winehelper
@@ -1423,12 +1423,6 @@ 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
|
||||
@@ -1484,6 +1478,11 @@ run_autoinstall () {
|
||||
echo
|
||||
list_install_scripts "$WH_MANUALINSTALL_DIR" "Список программ с возможностью установки из существующего дистрибутива:"
|
||||
elif [[ "$INSTALL_SCRIPT" != "0" ]] ; then
|
||||
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
|
||||
source "$INSTALL_SCRIPT" "$@"
|
||||
print_info "Завершена установка $INSTALL_SCRIPT_NAME"
|
||||
else
|
||||
|
Reference in New Issue
Block a user