From b2d8fc5ef5c66f0562c133d38b296da14fa22743 Mon Sep 17 00:00:00 2001 From: Katy248 Date: Wed, 16 Oct 2024 15:32:11 +0300 Subject: [PATCH] Added script for installing winetricks This is necessary for systems withot winetricks package or with outdated package --- install-winetricks.sh | 7 +++++++ install.sh | 9 +++++++-- 2 files changed, 14 insertions(+), 2 deletions(-) create mode 100755 install-winetricks.sh diff --git a/install-winetricks.sh b/install-winetricks.sh new file mode 100755 index 0000000..92dd2a2 --- /dev/null +++ b/install-winetricks.sh @@ -0,0 +1,7 @@ +#!/bin/bash + +git clone https://github.com/Winetricks/winetricks /tmp/ps-winetricks +cd /tmp/ps-winetricks +sudo make install + +rm -rf /tmp/ps-winetricks/ diff --git a/install.sh b/install.sh index e3926e7..52317af 100755 --- a/install.sh +++ b/install.sh @@ -143,9 +143,10 @@ redos) DEPENDENCIES=( curl wine - winetricks - ImageMagick + ImageMagick zstd + git + make ) ;; *) @@ -178,6 +179,10 @@ install_deps() { print_error "DNF terminated with an error" exit 1 fi + + if ! ./install-winetricks.sh ; then + print_error "Error while installing winetricks" + fi ;; *) print_error "For now only ${BLUE}Arch Linux${RESET} and ${RED}RED OS${RESET} is supported."