Minor fix
This commit is contained in:
parent
c8db437b79
commit
bfc68e958c
3 changed files with 9 additions and 3 deletions
|
@ -21,7 +21,9 @@ function check_file_3v3() {
|
||||||
}
|
}
|
||||||
|
|
||||||
function check_simplyprint_3v3() {
|
function check_simplyprint_3v3() {
|
||||||
if grep -q "\[simplyprint\]" "$MOONRAKER_CFG"; then
|
if [ ! -f "$MOONRAKER_CFG" ]; then
|
||||||
|
echo -e "${red}✗"
|
||||||
|
elif grep -q "\[simplyprint\]" "$MOONRAKER_CFG"; then
|
||||||
echo -e "${green}✓"
|
echo -e "${green}✓"
|
||||||
else
|
else
|
||||||
echo -e "${red}✗"
|
echo -e "${red}✗"
|
||||||
|
|
|
@ -21,7 +21,9 @@ function check_file_k1() {
|
||||||
}
|
}
|
||||||
|
|
||||||
function check_simplyprint_k1() {
|
function check_simplyprint_k1() {
|
||||||
if grep -q "\[simplyprint\]" "$MOONRAKER_CFG"; then
|
if [ ! -f "$MOONRAKER_CFG" ]; then
|
||||||
|
echo -e "${red}✗"
|
||||||
|
elif grep -q "\[simplyprint\]" "$MOONRAKER_CFG"; then
|
||||||
echo -e "${green}✓"
|
echo -e "${green}✓"
|
||||||
else
|
else
|
||||||
echo -e "${red}✗"
|
echo -e "${red}✗"
|
||||||
|
|
|
@ -21,7 +21,9 @@ function check_file_ke() {
|
||||||
}
|
}
|
||||||
|
|
||||||
function check_simplyprint_ke() {
|
function check_simplyprint_ke() {
|
||||||
if grep -q "\[simplyprint\]" "$MOONRAKER_CFG"; then
|
if [ ! -f "$MOONRAKER_CFG" ]; then
|
||||||
|
echo -e "${red}✗"
|
||||||
|
elif grep -q "\[simplyprint\]" "$MOONRAKER_CFG"; then
|
||||||
echo -e "${green}✓"
|
echo -e "${green}✓"
|
||||||
else
|
else
|
||||||
echo -e "${red}✗"
|
echo -e "${red}✗"
|
||||||
|
|
Loading…
Add table
Reference in a new issue