Update octoprint-server-install.sh

This commit is contained in:
Steve Zabka
2021-09-16 16:52:23 +02:00
committed by GitHub
parent ce97957b16
commit 0f191bfc8a

View File

@@ -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