mirror of
https://github.com/cryinkfly/Autodesk-Fusion-360-for-Linux.git
synced 2025-11-12 16:25:45 +01:00
Repositories were ported back again. (Ubuntu versions)!
This commit is contained in:
@@ -7,8 +7,8 @@
|
|||||||
# Author URI: https://cryinkfly.com #
|
# Author URI: https://cryinkfly.com #
|
||||||
# License: MIT #
|
# License: MIT #
|
||||||
# Copyright (c) 2020-2021 #
|
# Copyright (c) 2020-2021 #
|
||||||
# Time/Date: 18:00/02.12.2021 #
|
# Time/Date: 13:45/07.12.2021 #
|
||||||
# Version: 1.6.6 #
|
# Version: 1.6.7 #
|
||||||
####################################################################################################
|
####################################################################################################
|
||||||
|
|
||||||
###############################################################################################################################################################
|
###############################################################################################################################################################
|
||||||
@@ -286,23 +286,49 @@ function debian-based-2 {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function ubuntu18 {
|
function ubuntu18 {
|
||||||
sudo apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ bionic main'
|
sudo apt-add-repository -r 'deb https://dl.winehq.org/wine-builds/ubuntu/ bionic main'
|
||||||
|
wget -q https://download.opensuse.org/repositories/Emulators:/Wine:/Debian/xUbuntu_18.04/Release.key -O Release.key -O- | sudo apt-key add -
|
||||||
|
sudo apt-add-repository 'deb https://download.opensuse.org/repositories/Emulators:/Wine:/Debian/xUbuntu_18.04/ ./'
|
||||||
}
|
}
|
||||||
|
|
||||||
function ubuntu20 {
|
function ubuntu20 {
|
||||||
sudo add-apt-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ focal main'
|
sudo add-apt-repository -r 'deb https://dl.winehq.org/wine-builds/ubuntu/ focal main'
|
||||||
|
wget -q https://download.opensuse.org/repositories/Emulators:/Wine:/Debian/xUbuntu_20.04/Release.key -O Release.key -O- | sudo apt-key add -
|
||||||
|
sudo apt-add-repository 'deb https://download.opensuse.org/repositories/Emulators:/Wine:/Debian/xUbuntu_20.04/ ./'
|
||||||
}
|
}
|
||||||
|
|
||||||
function ubuntu20_10 {
|
function ubuntu20_10 {
|
||||||
sudo add-apt-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ groovy main'
|
sudo add-apt-repository -r 'deb https://dl.winehq.org/wine-builds/ubuntu/ groovy main'
|
||||||
|
wget -q https://download.opensuse.org/repositories/Emulators:/Wine:/Debian/xUbuntu_20.10/Release.key -O Release.key -O- | sudo apt-key add -
|
||||||
|
sudo apt-add-repository 'deb https://download.opensuse.org/repositories/Emulators:/Wine:/Debian/xUbuntu_20.10/ ./'
|
||||||
}
|
}
|
||||||
|
|
||||||
function ubuntu21 {
|
function ubuntu21 {
|
||||||
sudo add-apt-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ hirsute main'
|
mkdir -p /tmp/360 && cd /tmp/360
|
||||||
|
wget https://download.opensuse.org/repositories/Emulators:/Wine:/Debian/xUbuntu_21.04/Release.key
|
||||||
|
wget https://dl.winehq.org/wine-builds/winehq.key
|
||||||
|
gpg --no-default-keyring --keyring ./temp-keyring.gpg --import Release.key
|
||||||
|
gpg --no-default-keyring --keyring ./temp-keyring.gpg --export --output opensuse-wine.gpg && rm temp-keyring.gpg
|
||||||
|
gpg --no-default-keyring --keyring ./temp-keyring.gpg --import winehq.key
|
||||||
|
gpg --no-default-keyring --keyring ./temp-keyring.gpg --export --output winehq.gpg && rm temp-keyring.gpg
|
||||||
|
sudo mv *.gpg /etc/apt/trusted.gpg.d/ && cd /tmp && sudo rm -rf 360
|
||||||
|
echo "deb [signed-by=/etc/apt/trusted.gpg.d/opensuse-wine.gpg] https://download.opensuse.org/repositories/Emulators:/Wine:/Debian/xUbuntu_21.04/ ./" | sudo tee -a /etc/apt/sources.list.d/opensuse-wine.list
|
||||||
|
sudo add-apt-repository -r 'deb https://dl.winehq.org/wine-builds/ubuntu/ hirsute main'
|
||||||
|
cd "$HOME/.wineprefixes/fusion360/INSTALLDIR"
|
||||||
}
|
}
|
||||||
|
|
||||||
function ubuntu21_10 {
|
function ubuntu21_10 {
|
||||||
sudo add-apt-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ impish main'
|
mkdir -p /tmp/360 && cd /tmp/360
|
||||||
|
wget https://download.opensuse.org/repositories/Emulators:/Wine:/Debian/xUbuntu_21.04/Release.key
|
||||||
|
wget https://dl.winehq.org/wine-builds/winehq.key
|
||||||
|
gpg --no-default-keyring --keyring ./temp-keyring.gpg --import Release.key
|
||||||
|
gpg --no-default-keyring --keyring ./temp-keyring.gpg --export --output opensuse-wine.gpg && rm temp-keyring.gpg
|
||||||
|
gpg --no-default-keyring --keyring ./temp-keyring.gpg --import winehq.key
|
||||||
|
gpg --no-default-keyring --keyring ./temp-keyring.gpg --export --output winehq.gpg && rm temp-keyring.gpg
|
||||||
|
sudo mv *.gpg /etc/apt/trusted.gpg.d/ && cd /tmp && sudo rm -rf 360
|
||||||
|
echo "deb [signed-by=/etc/apt/trusted.gpg.d/opensuse-wine.gpg] https://download.opensuse.org/repositories/Emulators:/Wine:/Debian/xUbuntu_21.10/ ./" | sudo tee -a /etc/apt/sources.list.d/opensuse-wine.list
|
||||||
|
sudo add-apt-repository -r 'deb https://dl.winehq.org/wine-builds/ubuntu/ impish main'
|
||||||
|
cd "$HOME/.wineprefixes/fusion360/INSTALLDIR"
|
||||||
}
|
}
|
||||||
|
|
||||||
function fedora-based-1 {
|
function fedora-based-1 {
|
||||||
|
|||||||
Reference in New Issue
Block a user