commentaire sur l'utilisation de gh

This commit is contained in:
Michel Le Cocq 2025-02-10 06:32:53 +01:00
parent d056710348
commit f0d3c6a36c

View File

@ -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 <lecocq@ipgp.fr>
# <nomad@neuronfarm.net>
@ -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