From 9d7ad292a319b2dbfa9a41cade14146f18d02e0a Mon Sep 17 00:00:00 2001 From: Steve Zabka <79079633+cryinkfly@users.noreply.github.com> Date: Wed, 4 Aug 2021 19:50:14 +0200 Subject: [PATCH] Repository already exists. (openSUSE Leap) Problem: You get this information, when you run my installation-script again and you have added the wine-Repository: > A repository called 'wine' already exists. Use a different alias. Solution: I have changed my script so, that my script delete this wine-Repository and then add this one (again). --- scripts/stable-branch/fusion360-install.sh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/scripts/stable-branch/fusion360-install.sh b/scripts/stable-branch/fusion360-install.sh index 667064e..bfba1f1 100644 --- a/scripts/stable-branch/fusion360-install.sh +++ b/scripts/stable-branch/fusion360-install.sh @@ -8,7 +8,7 @@ # License: MIT # Copyright (c) 2020-2021 # Time/Date: 20:00/04.08.2021 -# Version: 2.3 +# Version: 2.4 ############################################################################## # DESCRIPTION @@ -66,7 +66,7 @@ function welcome_screen { HEIGHT=15 WIDTH=60 CHOICE_HEIGHT=2 -BACKTITLE="Installation of Autodesk Fusion360 - Version 2.3" +BACKTITLE="Installation of Autodesk Fusion360 - Version 2.4" TITLE="Do you wish to install Autodesk Fusion 360?" MENU="Choose one of the following options:" @@ -96,7 +96,7 @@ function select_your_os { HEIGHT=15 WIDTH=60 CHOICE_HEIGHT=10 -BACKTITLE="Installation of Autodesk Fusion360 - Version 2.3" +BACKTITLE="Installation of Autodesk Fusion360 - Version 2.4" TITLE="Select your Linux distribution" MENU="Choose one of the following options:" @@ -125,11 +125,11 @@ CHOICE=$(dialog --clear \ clear case $CHOICE in 1) - su -c 'zypper up && zypper ar -cfp 95 https://download.opensuse.org/repositories/Emulators:/Wine/openSUSE_Leap_15.2/ wine && zypper install p7zip-full curl wget wine cabextract' && + su -c 'zypper up && zypper rr https://download.opensuse.org/repositories/Emulators:/Wine/openSUSE_Leap_15.2/ wine && zypper ar -cfp 95 https://download.opensuse.org/repositories/Emulators:/Wine/openSUSE_Leap_15.2/ wine && zypper install p7zip-full curl wget wine cabextract' && winetricks ;; 2) - su -c 'zypper up && zypper ar -cfp 95 https://download.opensuse.org/repositories/Emulators:/Wine/openSUSE_Leap_15.3/ wine && zypper install p7zip-full curl wget wine cabextract' && + su -c 'zypper up && zypper rr https://download.opensuse.org/repositories/Emulators:/Wine/openSUSE_Leap_15.3/ wine && zypper ar -cfp 95 https://download.opensuse.org/repositories/Emulators:/Wine/openSUSE_Leap_15.3/ wine && zypper install p7zip-full curl wget wine cabextract' && winetricks ;; 3) @@ -222,7 +222,7 @@ function archlinux_1 { HEIGHT=15 WIDTH=60 CHOICE_HEIGHT=2 -BACKTITLE="Installation of Autodesk Fusion360 - Version 2.3" +BACKTITLE="Installation of Autodesk Fusion360 - Version 2.4" TITLE="If you have enabled multilib repository?" MENU="Choose one of the following options:"