Commit Graph

20 Commits

Author SHA1 Message Date
th33xitus
b2274a686c refactor: backup full config folder before install of mainsail/fluidd/klipperscreen
we don't know if some files need to be modified. so to be safe, backup all of them no matter what. this will also not create redundant intermediate backups.

Signed-off-by: Dominik Willner th33xitus@gmail.com
2022-05-26 10:13:59 +02:00
th33xitus
3f0f560646 refactor: fix update_manager patch functions
Signed-off-by: Dominik Willner th33xitus@gmail.com
2022-05-26 10:07:31 +02:00
th33xitus
d5dbce782b refactor: use correct shebang
Signed-off-by: Dominik Willner th33xitus@gmail.com
2022-05-22 15:58:50 +02:00
th33xitus
8878b8a2fc refactor(klipperscreen.sh): exit if cloning and installing klipperscreen failed
Signed-off-by: Dominik Willner th33xitus@gmail.com
2022-05-19 09:56:51 +02:00
th33xitus
435b1f46a8 style: improve code-style and fix some shellcheck warnings
Signed-off-by: Dominik Willner th33xitus@gmail.com
2022-05-18 22:31:32 +02:00
th33xitus
64f4d16d16 style: substitute variables, rename variables
Signed-off-by: Dominik Willner th33xitus@gmail.com
2022-05-14 20:01:58 +02:00
th33xitus
294aa47420 style: whitespace between brackets in function declaration
Signed-off-by: Dominik Willner th33xitus@gmail.com
2022-05-14 19:49:53 +02:00
th33xitus
e99de6097c fix: remove /bin/bash for executing commands/other scripts
Signed-off-by: Dominik Willner th33xitus@gmail.com
2022-05-12 21:16:45 +02:00
th33xitus
8e7705eb39 refactor: sort after find
Signed-off-by: Dominik Willner th33xitus@gmail.com
2022-05-12 21:00:51 +02:00
th33xitus
ccc831fee4 feat: display klipper repo in main menu
Signed-off-by: Dominik Willner th33xitus@gmail.com
2022-05-12 21:00:51 +02:00
th33xitus
6688029ba3 fix: bug in order of operations
Signed-off-by: Dominik Willner th33xitus@gmail.com
2022-05-12 21:00:49 +02:00
th33xitus
60d36e8182 refactor: patch only necessary update manager sections upon webif install
Signed-off-by: Dominik Willner th33xitus@gmail.com
2022-05-12 21:00:41 +02:00
th33xitus
35dc2c75e3 refactor: rework some klipperscreen functions
Signed-off-by: Dominik Willner th33xitus@gmail.com
2022-05-12 20:58:45 +02:00
th33xitus
413abf003e refactor: move python check to utilities.sh
also remove several unused service start and restart functions

Signed-off-by: Dominik Willner th33xitus@gmail.com
2022-05-12 20:58:45 +02:00
th33xitus
63ef9a07db refactor: update update_menu.sh and update functions
Signed-off-by: Dominik Willner th33xitus@gmail.com
2022-05-12 20:57:59 +02:00
th33xitus
85b533e703 feat: outsource globals in own file
Signed-off-by: Dominik Willner th33xitus@gmail.com
2022-05-12 20:57:59 +02:00
th33xitus
8a293011c5 feat: read custom klipper config location from file
Signed-off-by: Dominik Willner th33xitus@gmail.com
2022-05-12 20:57:59 +02:00
th33xitus
ea6a380e0f refactor: replace ${default} with ${white}
Signed-off-by: Dominik Willner th33xitus@gmail.com
2022-05-12 20:57:59 +02:00
th33xitus
a8e9df2677 style: add function keyword
Signed-off-by: Dominik Willner th33xitus@gmail.com
2022-05-12 20:57:59 +02:00
th33xitus
92f84c03e4 refactor: klipperscreen
Signed-off-by: Dominik Willner th33xitus@gmail.com
2022-05-12 20:57:58 +02:00