th33xitus
7c4b413c67
refactor: improve get_instance_name function
...
Signed-off-by: Dominik Willner <th33xitus@gmail.com >
2022-08-15 13:07:25 +02:00
th33xitus
ee86332988
refactor: final polishing
...
Signed-off-by: Dominik Willner <th33xitus@gmail.com >
2022-08-15 12:21:06 +02:00
Kenneth Jiang
276c123d3d
Bug fixes based PR review feedback
2022-08-14 07:13:36 -07:00
Kenneth Jiang
8d284179d8
Bugs primarily caused by the confusion between space-separated vars and arrays
2022-08-13 20:53:37 -07:00
Kenneth Jiang
7837a78c4b
Get instance names from the ini file to be consistent with the rest of the KIAUH
2022-08-13 17:08:24 -07:00
th33xitus
23c39d225a
fix(obico.sh): fix regex for logfiles
...
Signed-off-by: Dominik Willner <th33xitus@gmail.com >
2022-08-13 16:42:47 +02:00
th33xitus
7d5b4e7242
refactor(obico.sh): refactor obico status
...
initializes `is_linked` as true.
switches it to false as soon as the first non linked instance is detected. status is then printed as non linked in the main menu.
Signed-off-by: Dominik Willner <th33xitus@gmail.com >
2022-08-13 16:42:47 +02:00
th33xitus
cb53982cac
refactor: refactor clone_and_update function into two separate ones
...
Signed-off-by: Dominik Willner <th33xitus@gmail.com >
2022-08-13 16:42:47 +02:00
th33xitus
53e03254e7
fix: make correct use of do_action_service function
...
Signed-off-by: Dominik Willner <th33xitus@gmail.com >
2022-08-13 16:42:47 +02:00
th33xitus
a9332a2b6e
refactor: factor the menu title definition out into a separate function
...
Signed-off-by: Dominik Willner <th33xitus@gmail.com >
2022-08-13 16:42:47 +02:00
th33xitus
fa2b728037
style: fix whitespace
...
Signed-off-by: Dominik Willner <th33xitus@gmail.com >
2022-08-13 16:42:47 +02:00
th33xitus
99fa596183
shellcheck: fix SC2155
...
Signed-off-by: Dominik Willner <th33xitus@gmail.com >
2022-08-13 16:42:47 +02:00
th33xitus
910c5867a6
shellcheck: fix SC2068
...
Signed-off-by: Dominik Willner <th33xitus@gmail.com >
2022-08-13 16:42:47 +02:00
th33xitus
78cc8bbffb
shellcheck: fix SC2155
...
Signed-off-by: Dominik Willner <th33xitus@gmail.com >
2022-08-13 16:42:47 +02:00
th33xitus
181a5d965a
shellcheck: fix SC2086
...
Signed-off-by: Dominik Willner <th33xitus@gmail.com >
2022-08-13 16:42:47 +02:00
Kenneth Jiang
992df950c3
Removed unused vars
2022-08-13 07:40:31 -07:00
Kenneth Jiang
433be6a678
A few more typos
2022-08-01 18:05:10 -07:00
Kenneth Jiang
db203d0321
Single-instance and multi-instance need to be treated differently
2022-08-01 17:49:32 -07:00
Kenneth Jiang
a619df2364
A few typos
2022-08-01 17:48:54 -07:00
Kenneth Jiang
ff9b563131
get_instance_name takes base_name now so that it won't confuse moonraker-obico as an instance of Moonraker
2022-08-01 16:11:01 -07:00
Kenneth Jiang
8f5bdf2707
Make the linking step more user-friendly
2022-08-01 14:30:36 -07:00
Kenneth Jiang
767f8e14f8
Streamline the Obico linking process in KIAUH
2022-08-01 06:46:06 -07:00
Kenneth Jiang
efdaae436a
Compare version for update
2022-07-25 15:09:35 -07:00
Kenneth Jiang
64058e96e2
Uninstall and update works
2022-07-25 14:04:03 -07:00
Kenneth Jiang
023103709d
Status and installation worked.
2022-07-24 21:40:15 -07:00