From d0d5ac74dad31dc9f9a61551957ff8831d3ed3a6 Mon Sep 17 00:00:00 2001 From: Ross Scroggs Date: Mon, 23 Dec 2024 12:24:30 -0800 Subject: [PATCH] Fix issue #1732 --- src/gam-install.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/gam-install.sh b/src/gam-install.sh index 2125c51c..03cfef93 100755 --- a/src/gam-install.sh +++ b/src/gam-install.sh @@ -323,6 +323,8 @@ echo_yellow "Downloading ${download_url} to $temp_archive_dir ($check_type)..." (cd "$temp_archive_dir" && curl -O -L -s "${curl_opts[@]}" "$download_url") mkdir -p "$target_dir" +echo_yellow "Deleting contents of $target_dir/gam7/lib" +rm -frv "$target_dir/gam7/lib" echo_yellow "Extracting archive to $target_dir" if [[ "$name" =~ tar.xz|tar.gz|tar ]]; then