feat: replace mjpg-streamer with crowsnest #286
@@ -2,6 +2,12 @@
|
||||
|
||||
This document covers possible important changes to KIAUH.
|
||||
|
||||
### 2023-02-03
|
||||
The installer for MJPG-Streamer got replaced by crowsnest. It is an improved webcam service, utilizing ustreamer.
|
||||
Please have a look here for additional info about crowsnest and how to configure it: https://github.com/mainsail-crew/crowsnest \
|
||||
It's unsure if the previous MJPG-Streamer installer will be updated and make its way back into KIAUH.
|
||||
A big thanks to [KwadFan](https://github.com/KwadFan) for writing the crowsnest implementation.
|
||||
|
||||
### 2022-10-31
|
||||
Some functions got updated, though not all of them.
|
||||
|
||||
|
||||
241
scripts/crowsnest.sh
Normal file
@@ -0,0 +1,241 @@
|
||||
|
|
||||
#!/usr/bin/env bash
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
#=======================================================================#
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
# Copyright (C) 2020 - 2022 Dominik Willner <th33xitus@gmail.com> #
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
# #
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
# This file is part of KIAUH - Klipper Installation And Update Helper #
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
# https://github.com/th33xitus/kiauh #
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
# #
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
# This file may be distributed under the terms of the GNU GPLv3 license #
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
#=======================================================================#
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
#=======================================================================#
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
# Crowsnest Installer brought to you by KwadFan <me@stephanwe.de> #
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
# Copyright (C) 2022 KwadFan <me@stephanwe.de> #
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
# https://github.com/KwadFan/crowsnest #
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
#=======================================================================#
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
# Error Handling
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
set -e
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
# Helper messages
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
function multi_instance_message(){
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
echo -e "Crowsnest is NOT designed to support multi instances."
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
echo -e "A workaround for this is to choose the most used instance as a 'master'"
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
echo -e "Use this instance to set up your 'crowsnest.conf' and steering it's service.\n"
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
echo -e "Found the following instances:\n"
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
for i in ${1}; do
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
select_msg "${i}"
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
done
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
echo -e "\nLaunching crowsnest's configuration tool ..."
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
continue_config
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
}
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
# Helper funcs
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
function clone_crowsnest(){
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
$(command -v git) clone "${CROWSNEST_REPO}" -b master "${CROWSNEST_DIR}"
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
}
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
function check_multi_instance(){
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
local -a instances
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
readarray -t instances < <(find "${HOME}" -regex "${HOME}/[a-zA-Z0-9_]+_data/*" -printf "%P\n" 2> /dev/null | sort)
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
if [[ "${#instances[@]}" -gt 1 ]]; then
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
status_msg "Multi instance install detected ..."
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
multi_instance_message "${instances[*]}"
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
if [[ -d "${HOME}/crowsnest" ]]; then
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
pushd "${HOME}/crowsnest" &> /dev/null || exit 1
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
if ! make config ;then
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
error_msg "Something went wrong! Please try again..."
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
if [[ -f "tools/.config" ]]; then
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
rm -f tools/.config
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
fi
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
exit 1
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
fi
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
if [[ ! -f "tools/.config" ]]; then
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
log_error "failure while generating .config"
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
error_msg "Generating .config failed, installation aborted"
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
exit 1
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
fi
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
popd &> /dev/null || exit 1
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
fi
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
fi
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
}
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
function continue_config() {
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
local reply
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
while true; do
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
read -erp "${cyan}###### Continue with configuration? (y/N):${white} " reply
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
case "${reply}" in
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
Y|y|Yes|yes)
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
select_msg "Yes"
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
break;;
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
N|n|No|no|"")
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
select_msg "No"
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
warn_msg "Installation aborted by user ... Exiting!"
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
exit 1;;
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
*)
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
error_msg "Invalid Input!\n";;
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
esac
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
done
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
return 0
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
}
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
# Install func
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
function install_crowsnest(){
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
# Step 1: jump to home directory
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
pushd "${HOME}" &> /dev/null || exit 1
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
# Step 2: Clone crowsnest repo
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
status_msg "Cloning 'crowsnest' repository ..."
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
if [[ ! -d "${HOME}/crowsnest" && -z "$(ls -A "${HOME}/crowsnest" 2> /dev/null)" ]]; then
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
clone_crowsnest
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
else
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
ok_msg "crowsnest repository already exists ..."
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
fi
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
# Step 3: Install dependencies
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
dependency_check git make
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
# Step 4: Check for Multi Instance
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
check_multi_instance
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
# Step 5: Launch crowsnest installer
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
pushd "${HOME}/crowsnest" &> /dev/null || exit 1
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
title_msg "Installer will prompt you for sudo password!"
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
status_msg "Launching crowsnest installer ..."
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
if ! sudo make install; then
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
error_msg "Something went wrong! Please try again..."
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
exit 1
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
fi
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
# Step 5: Leave directory (twice due two pushd)
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
popd &> /dev/null || exit 1
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
popd &> /dev/null || exit 1
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
}
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
# Remove func
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
function remove_crowsnest(){
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
pushd "${HOME}/crowsnest" &> /dev/null || exit 1
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
title_msg "Uninstaller will prompt you for sudo password!"
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
status_msg "Launching crowsnest uninstaller ..."
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
if ! make uninstall; then
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
error_msg "Something went wrong! Please try again..."
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
exit 1
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
fi
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
if [[ -e "${CROWSNEST_DIR}" ]]; then
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
status_msg "Removing crowsnest directory ..."
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
rm -rf "${CROWSNEST_DIR}"
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
ok_msg "Directory removed!"
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
fi
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
}
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
# Status funcs
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
get_crowsnest_status(){
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
local -a files
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
files=(
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
"${CROWSNEST_DIR}"
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
"/usr/local/bin/crowsnest"
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
"/etc/logrotate.d/crowsnest"
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
"/etc/systemd/system/crowsnest.service"
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
"$(find "${HOME}" -name 'crowsnest.env' 2> /dev/null ||
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
echo "${HOME}/printer_data/systemd/crowsnest.env")"
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
)
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
# Contains ugly hackaround for multi instance... :(
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
local count
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
count=0
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
for file in "${files[@]}"; do
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
[[ -e "${file}" ]] && count=$(( count +1 ))
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
done
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
if [[ "${count}" -eq "${#files[*]}" ]]; then
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
echo "Installed"
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
elif [[ "${count}" -gt 0 ]]; then
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
echo "Incomplete!"
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
else
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
echo "Not installed!"
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
fi
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
}
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
# Update funcs
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
# Shameless stolen from KlipperScreen.sh
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
function get_local_crowsnest_commit() {
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
[[ ! -d ${CROWSNEST_DIR} || ! -d "${CROWSNEST_DIR}/.git" ]] && return
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
local commit
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
cd "${CROWSNEST_DIR}"
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
commit="$(git describe HEAD --always --tags | cut -d "-" -f 1,2)"
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
echo "${commit}"
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
}
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
function get_remote_crowsnest_commit() {
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
[[ ! -d ${CROWSNEST_DIR} || ! -d "${CROWSNEST_DIR}/.git" ]] && return
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
local commit
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
cd "${CROWSNEST_DIR}" && git fetch origin -q
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
commit=$(git describe origin/master --always --tags | cut -d "-" -f 1,2)
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
echo "${commit}"
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
}
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
function compare_crowsnest_versions() {
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
local versions local_ver remote_ver
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
local_ver="$(get_local_crowsnest_commit)"
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
remote_ver="$(get_remote_crowsnest_commit)"
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
if [[ ${local_ver} != "${remote_ver}" ]]; then
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
versions="${yellow}$(printf " %-14s" "${local_ver}")${white}"
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
versions+="|${green}$(printf " %-13s" "${remote_ver}")${white}"
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
# add moonraker to application_updates_available in kiauh.ini
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
add_to_application_updates "crowsnest"
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
else
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
versions="${green}$(printf " %-14s" "${local_ver}")${white}"
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
versions+="|${green}$(printf " %-13s" "${remote_ver}")${white}"
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
fi
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
echo "${versions}"
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
}
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
function install_crowsnest_dependencies() {
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
local packages
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
local install_script="${CROWSNEST_DIR}/tools/install.sh"
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
### read PKGLIST from official install-script
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
status_msg "Reading dependencies..."
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
# shellcheck disable=SC2016
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
packages="$(grep "PKGLIST=" "${install_script}" | cut -d'"' -f2 | sed 's/\${PKGLIST}//g' | tr -d '\n')"
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
echo "${cyan}${packages}${white}" | tr '[:space:]' '\n'
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
read -r -a packages <<< "${packages}"
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
### Update system package info
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
status_msg "Updating package lists..."
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
if ! sudo apt-get update --allow-releaseinfo-change; then
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
log_error "failure while updating package lists"
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
error_msg "Updating package lists failed!"
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
exit 1
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
fi
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
### Install required packages
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
status_msg "Installing required packages..."
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
if ! sudo apt-get install --yes "${packages[@]}"; then
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
log_error "failure while installing required crowsnest packages"
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
error_msg "Installing required packages failed!"
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
exit 1
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
fi
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
}
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
function update_crowsnest() {
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
do_action_service "stop" "crowsnest"
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
if [[ ! -d ${CROWSNEST_DIR} ]]; then
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
clone_crowsnest
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
else
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
status_msg "Updating Crowsnest ..."
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
cd "${CROWSNEST_DIR}" && git pull
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
### read PKGLIST and install possible new dependencies
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
install_crowsnest_dependencies
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
fi
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
ok_msg "Update complete!"
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
do_action_service "restart" "crowsnest"
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
}
|
||||
|
Any specific reason as to why leave this here commented? Might as well just remove it, no? Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣 No, will remove that asap Well, obviously I was lost in my own code :rofl:
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
@@ -68,4 +68,9 @@ function set_globals() {
|
||||
#=============== MOONRAKER-OBICO ================#
|
||||
MOONRAKER_OBICO_DIR="${HOME}/moonraker-obico"
|
||||
MOONRAKER_OBICO_REPO="https://github.com/TheSpaghettiDetective/moonraker-obico.git"
|
||||
|
||||
#=============== Crowsnest ================#
|
||||
CROWSNEST_DIR="${HOME}/crowsnest"
|
||||
CROWSNEST_REPO="https://github.com/mainsail-crew/crowsnest.git"
|
||||
|
||||
}
|
||||
|
||||
@@ -27,10 +27,8 @@ function install_ui() {
|
||||
echo -e "| 3) [Mainsail] | 8) [Telegram Bot] |"
|
||||
echo -e "| 4) [Fluidd] | 9) $(obico_install_title) |"
|
||||
echo -e "| | |"
|
||||
echo -e "| Touchscreen GUI: | |"
|
||||
echo -e "| 5) [KlipperScreen] | |"
|
||||
# echo -e "| Touchscreen GUI: | Webcam Streamer: |"
|
||||
# echo -e "| 5) [KlipperScreen] | 10) [MJPG-Streamer] |"
|
||||
echo -e "| Touchscreen GUI: | Webcam Streamer: |"
|
||||
echo -e "| 5) [KlipperScreen] | 10) [Crowsnest] |"
|
||||
back_footer
|
||||
}
|
||||
|
||||
@@ -66,11 +64,8 @@ function install_menu() {
|
||||
do_action "telegram_bot_setup_dialog" "install_ui";;
|
||||
9)
|
||||
do_action "moonraker_obico_setup_dialog" "install_ui";;
|
||||
# 10)
|
||||
# do_action "install_mjpg-streamer" "install_ui";;
|
||||
# clear && print_header
|
||||
# print_error "Function currently disabled! Sorry!"
|
||||
# install_ui;;
|
||||
10)
|
||||
do_action "install_crowsnest" "install_ui";;
|
||||
B|b)
|
||||
clear; main_menu; break;;
|
||||
*)
|
||||
|
||||
@@ -29,6 +29,7 @@ function main_ui() {
|
||||
echo -e "| | Fluidd: $(print_status "fluidd")|"
|
||||
echo -e "| | KlipperScreen: $(print_status "klipperscreen")|"
|
||||
echo -e "| 6) [Settings] | Telegram Bot: $(print_status "telegram_bot")|"
|
||||
echo -e "| | Crowsnest: $(print_status "crowsnest")|"
|
||||
echo -e "| | Obico: $(print_status "moonraker_obico")|"
|
||||
echo -e "| | |"
|
||||
echo -e "| $(print_kiauh_version)| Octoprint: $(print_status "octoprint")|"
|
||||
@@ -107,6 +108,9 @@ function main_menu() {
|
||||
"start octoprint") do_action_service "start" "octoprint"; main_ui;;
|
||||
"stop octoprint") do_action_service "stop" "octoprint"; main_ui;;
|
||||
"restart octoprint") do_action_service "restart" "octoprint"; main_ui;;
|
||||
"start crowsnest") do_action_service "start" "crowsnest"; main_ui;;
|
||||
"stop crowsnest") do_action_service "stop" "crowsnest"; main_ui;;
|
||||
"restart crowsnest") do_action_service "restart" "crowsnest"; main_ui;;
|
||||
update) do_action "update_kiauh" "main_ui";;
|
||||
0)clear && print_header
|
||||
#upload_selection
|
||||
|
||||
@@ -21,7 +21,7 @@ function remove_ui() {
|
||||
echo -e "| 1) [Klipper] | 6) [OctoPrint] |"
|
||||
echo -e "| 2) [Moonraker] | |"
|
||||
echo -e "| | Webcam Streamer: |"
|
||||
echo -e "| Klipper Webinterface: | 7) [MJPG-Streamer] |"
|
||||
echo -e "| Klipper Webinterface: | 7) [Crowsnest] |"
|
||||
echo -e "| 3) [Mainsail] | |"
|
||||
echo -e "| 4) [Fluidd] | Other: |"
|
||||
echo -e "| | 8) [PrettyGCode] |"
|
||||
@@ -51,7 +51,7 @@ function remove_menu() {
|
||||
6)
|
||||
do_action "remove_octoprint" "remove_ui";;
|
||||
7)
|
||||
do_action "remove_mjpg-streamer" "remove_ui";;
|
||||
do_action "remove_crowsnest" "remove_ui";;
|
||||
8)
|
||||
do_action "remove_prettygcode" "remove_ui";;
|
||||
9)
|
||||
|
||||
@@ -32,8 +32,9 @@ function update_ui() {
|
||||
echo -e "| 6) [PrettyGCode] |$(compare_prettygcode_versions)|"
|
||||
echo -e "| 7) [Telegram Bot] |$(compare_telegram_bot_versions)|"
|
||||
echo -e "| 8) [Obico for Klipper]|$(compare_moonraker_obico_versions)|"
|
||||
echo -e "| 9) [Crowsnest] |$(compare_crowsnest_versions)|"
|
||||
echo -e "| |------------------------------|"
|
||||
echo -e "| 9) [System] | $(check_system_updates) |"
|
||||
echo -e "| 10)[System] | $(check_system_updates) |"
|
||||
back_footer
|
||||
}
|
||||
|
||||
@@ -63,6 +64,8 @@ function update_menu() {
|
||||
8)
|
||||
do_action "update_moonraker_obico" "update_ui";;
|
||||
9)
|
||||
do_action "update_crowsnest" "update_ui";;
|
||||
10)
|
||||
do_action "update_system" "update_ui";;
|
||||
a)
|
||||
do_action "update_all" "update_ui";;
|
||||
|
||||
Any specific reason as to why leave this here commented? Might as well just remove it, no?
Any specific reason as to why leave this here commented? Might as well just remove it, no?
Well, obviously I was lost in my own code 🤣
No, will remove that asap
Well, obviously I was lost in my own code 🤣
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁