From f0d3c6a36c6674a82c5db5ffb5ffe2ca14db0a9f Mon Sep 17 00:00:00 2001 From: Michel Le Cocq Date: Mon, 10 Feb 2025 06:32:53 +0100 Subject: [PATCH] commentaire sur l'utilisation de gh --- upsnapz.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/upsnapz.sh b/upsnapz.sh index 9e4e503..321769d 100755 --- a/upsnapz.sh +++ b/upsnapz.sh @@ -1,6 +1,6 @@ #!/bin/bash -# Time-stamp: <2025-02-09 14:48:00 nomad> +# Time-stamp: <2025-02-10 06:32:43 nomad> # Michel Le Cocq # @@ -18,7 +18,6 @@ # zfs clone promote # check zfs boot menu release # check zfs pool status - # Depend : # - gh @@ -58,6 +57,8 @@ function check_ZFS_BOOT_MENU echo -n " Installed Release : " e=$(echo $e | awk -F'-' '{print $4}') echo $e + # pas tout a fait satisfait de cette methode avec gh + # force a s'authentifier sur github ! f=$(gh release list --repo https://github.com/zbm-dev/zfsbootmenu | grep Latest | awk -F' ' '{print $4}') if [ "$e" != "$f" ] then