mirror of
https://github.com/cryinkfly/Autodesk-Fusion-360-for-Linux.git
synced 2025-11-15 09:35:52 +01:00
Update octoprint-server-install.sh
This commit is contained in:
@@ -7,8 +7,8 @@
|
||||
# Author URI: https://cryinkfly.com
|
||||
# License: MIT
|
||||
# Copyright (c) 2020-2021
|
||||
# Time/Date: 22:30/16.08.2021
|
||||
# Version: 1.2
|
||||
# Time/Date: 17:00/16.09.2021
|
||||
# Version: 1.3
|
||||
##############################################################################
|
||||
|
||||
# DESCRIPTION
|
||||
@@ -34,8 +34,6 @@ fi
|
||||
|
||||
|
||||
function install-requirement-check {
|
||||
if VERB="$( which apt-get )" 2> /dev/null; then
|
||||
echo "Debian-based"
|
||||
sudo apt-get update &&
|
||||
sudo apt-get install python3-pip python3-dev python3-setuptools python3-venv git libyaml-dev build-essential &&
|
||||
mkdir OctoPrint &&
|
||||
@@ -57,10 +55,9 @@ if VERB="$( which apt-get )" 2> /dev/null; then
|
||||
|
||||
echo "The installation of OctoPrint (Server) is completed and you can use it for your projects."
|
||||
echo "Now you can use this command for manage OctoPrint (Server) on your system: sudo service octoprint {start|stop|restart}"
|
||||
else
|
||||
echo "I can't find your package manager!"
|
||||
|
||||
exit;
|
||||
fi
|
||||
|
||||
}
|
||||
|
||||
requirement-check
|
||||
|
||||
Reference in New Issue
Block a user