Add Fedora35 option

This commit is contained in:
paukstelis
2022-03-28 22:02:39 -04:00
parent 64cd8f1c1f
commit e5349d60df

View File

@@ -477,6 +477,10 @@ prepare () {
INSTALL=4 INSTALL=4
break break
;; ;;
"Fedora 35+")
INSTALL=5
break
;;
"Quit") "Quit")
exit 1 exit 1
;; ;;
@@ -527,6 +531,11 @@ prepare () {
if [ $INSTALL -eq 4 ]; then if [ $INSTALL -eq 4 ]; then
apt-get -y install make v4l-utils python3.8-venv cmake libjpeg8-dev gcc g++ python3-dev build-essential python3-setuptools libyaml-dev python3-pip apt-get -y install make v4l-utils python3.8-venv cmake libjpeg8-dev gcc g++ python3-dev build-essential python3-setuptools libyaml-dev python3-pip
fi fi
#Fedora35
if [ $INSTALL -eq 5 ]; then
dnf -y install python3-devel cmake libjpeg-turbo-devel
fi
echo "Installing OctoPrint in /home/$user/OctoPrint" echo "Installing OctoPrint in /home/$user/OctoPrint"
#make venv #make venv
sudo -u $user python3 -m venv /home/$user/OctoPrint sudo -u $user python3 -m venv /home/$user/OctoPrint