commentaire sur l'utilisation de gh
This commit is contained in:
		| @ -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 | ||||
|  | ||||
		Reference in New Issue
	
	Block a user