mirror of
https://github.com/cryinkfly/Autodesk-Fusion-360-for-Linux.git
synced 2025-11-13 08:45:43 +01:00
Add gentoo support
This PR adds support for Gentoo based distributions.
This commit is contained in:
committed by
GitHub
parent
c78626b9b9
commit
15a1b4fdb4
@@ -58,6 +58,9 @@ elif VERB="$( which xbps-install )" 2> /dev/null; then
|
|||||||
elif VERB="$( which eopkg )" 2> /dev/null; then
|
elif VERB="$( which eopkg )" 2> /dev/null; then
|
||||||
echo "Solus-based"
|
echo "Solus-based"
|
||||||
sudo eopkg install dialog wmctrl
|
sudo eopkg install dialog wmctrl
|
||||||
|
elif VERB="$( which emerge )" 2> /dev/null; then
|
||||||
|
echo "Gentoo-based"
|
||||||
|
sudo emerge -av dev-utils/dialog x11-misc/wmctrl
|
||||||
else
|
else
|
||||||
echo "I can't find your package manager!"
|
echo "I can't find your package manager!"
|
||||||
exit;
|
exit;
|
||||||
@@ -118,7 +121,8 @@ OPTIONS=(1 "Arch Linux, Manjaro Linux, EndeavourOS, ..."
|
|||||||
13 "Ubuntu 20.10"
|
13 "Ubuntu 20.10"
|
||||||
14 "Ubuntu 21.04, Pop!_OS 21.04, ..."
|
14 "Ubuntu 21.04, Pop!_OS 21.04, ..."
|
||||||
15 "Void Linux"
|
15 "Void Linux"
|
||||||
|
16 "Gentoo Linux"
|
||||||
|
|
||||||
)
|
)
|
||||||
|
|
||||||
CHOICE=$(dialog --clear \
|
CHOICE=$(dialog --clear \
|
||||||
@@ -245,6 +249,11 @@ case $CHOICE in
|
|||||||
select_your_path
|
select_your_path
|
||||||
;;
|
;;
|
||||||
|
|
||||||
|
16)
|
||||||
|
gentoo-linux &&
|
||||||
|
select_your_path
|
||||||
|
;;
|
||||||
|
|
||||||
esac
|
esac
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -378,6 +387,11 @@ function void-linux {
|
|||||||
sudo xbps-install -Sy wine wine-mono wine-gecko winetricks p7zip curl cabextract samba ppp
|
sudo xbps-install -Sy wine wine-mono wine-gecko winetricks p7zip curl cabextract samba ppp
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function gentoo-linux {
|
||||||
|
sudo emerge -av virtual/wine app-emulation/winetricks app-emulation/wine-mono app-emulation/wine-gecko app-arch/p7zip app-arch/cabextract
|
||||||
|
net-misc/curl net-fs/samba net-dialup/ppp
|
||||||
|
}
|
||||||
|
|
||||||
function winetricks-standard {
|
function winetricks-standard {
|
||||||
clear
|
clear
|
||||||
mkdir -p /home/$USER/.wineprefixes/fusion360 &&
|
mkdir -p /home/$USER/.wineprefixes/fusion360 &&
|
||||||
|
|||||||
Reference in New Issue
Block a user