mirror of
https://github.com/the-sane/lug-helper.git
synced 2025-01-14 22:50:34 +00:00
Compare commits
No commits in common. "c07e673c0d23fa02eb78bc197b1386f386628eaa" and "6533cf98bd5fe2bf2d524099d81b099452846ba6" have entirely different histories.
c07e673c0d
...
6533cf98bd
11
lug-helper.sh
Normal file → Executable file
11
lug-helper.sh
Normal file → Executable file
@ -986,19 +986,14 @@ runner_select_install() {
|
|||||||
;;
|
;;
|
||||||
*.tar.xz)
|
*.tar.xz)
|
||||||
runner_name="$(basename "${runner_versions[i]}" .tar.xz)"
|
runner_name="$(basename "${runner_versions[i]}" .tar.xz)"
|
||||||
;;
|
;;
|
||||||
*.sha512sum)
|
|
||||||
runner_name="ignore"
|
|
||||||
;;
|
|
||||||
*)
|
*)
|
||||||
debug_print exit "Unknown archive filetype in runner_select_install function. Aborting."
|
debug_print exit "Unknown archive filetype in runner_select_install function. Aborting."
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
# Add the runner names to the menu
|
# Add the runner names to the menu
|
||||||
if [ "$runner_name" = "ignore" ]; then
|
if [ -d "$runners_dir/$runner_name" ]; then
|
||||||
debug_print continue "Ignoring .sha512sum file."
|
|
||||||
elif [ -d "$runners_dir/$runner_name" ]; then
|
|
||||||
menu_options+=("$runner_name [installed]")
|
menu_options+=("$runner_name [installed]")
|
||||||
else
|
else
|
||||||
menu_options+=("$runner_name")
|
menu_options+=("$runner_name")
|
||||||
@ -1269,7 +1264,7 @@ get_latest_release() {
|
|||||||
|
|
||||||
# Check if a new Verison of the script is available
|
# Check if a new Verison of the script is available
|
||||||
repo="the-sane/lug-helper"
|
repo="the-sane/lug-helper"
|
||||||
current_version="v1.9.1"
|
current_version="v1.9"
|
||||||
latest_version=$(get_latest_release "$repo")
|
latest_version=$(get_latest_release "$repo")
|
||||||
|
|
||||||
if [ "$latest_version" != "$current_version" ]; then
|
if [ "$latest_version" != "$current_version" ]; then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user