Skip to content

Commit

Permalink
improve installer messages
Browse files Browse the repository at this point in the history
added note about incompatibility with multiple klipper instances

Signed-off-by:  Christoph Frei <[email protected]>
  • Loading branch information
FrYakaTKoP committed Jul 20, 2022
1 parent 5b2ceee commit 08daa71
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ function stop_klipper {
echo "Klipper service found! Stopping during Install."
sudo systemctl stop klipper
else
echo "Klipper service not found, please install Klipper first"
echo -e "${RED}Error:${NC} Klipper service not found, please install Klipper first\nNOTE: If you use multiple instances of klipper you need to create the symlinks manually for now! see Github issue #13 for further information"
exit 1
fi
}
Expand Down Expand Up @@ -86,7 +86,7 @@ function restart_services {
function check_ffmpeg {

if [ ! -f "$FFMPEG_BIN" ]; then
echo -e "${YELLOW}WARNING:${NC} FFMPEG not found in '${FFMPEG_BIN}'. Render will not be possible!\nPlease install FFMPEG running:\n\n sudo apt install ffmpeg\n\nor specify 'ffmpeg_binary_path' in moonraker.conf in the [timelapse] section if ffmpeg is installed in a different directory, to use render functionality"
echo -e "${YELLOW}WARNING: FFMPEG not found in '${FFMPEG_BIN}'. Render will not be possible!${NC}\nPlease install FFMPEG running:\n\n sudo apt install ffmpeg\n\nor specify 'ffmpeg_binary_path' in moonraker.conf in the [timelapse] section if ffmpeg is installed in a different directory, to use render functionality"
fi

}
Expand Down

0 comments on commit 08daa71

Please sign in to comment.