commentaire souci gh non authentifié

This commit is contained in:
Michel Le Cocq 2025-02-12 06:32:33 +01:00
parent 8a03dec28a
commit e3d7f40006

View File

@ -1,6 +1,6 @@
#!/bin/bash #!/bin/bash
# Time-stamp: <2025-02-10 07:14:16 nomad> # Time-stamp: <2025-02-12 06:31:58 nomad>
# Michel Le Cocq <lecocq@ipgp.fr> # Michel Le Cocq <lecocq@ipgp.fr>
# <nomad@neuronfarm.net> # <nomad@neuronfarm.net>
@ -114,6 +114,7 @@ function check_ZFS_BOOT_MENU
dpkg -l gh &> /dev/null dpkg -l gh &> /dev/null
if [ $? -eq 0 ] if [ $? -eq 0 ]
then then
# ici souci ! si non authentifié sur github ne "fonctionne pas"
f=$(gh release list --repo https://github.com/zbm-dev/zfsbootmenu | grep Latest | awk -F' ' '{print $4}') f=$(gh release list --repo https://github.com/zbm-dev/zfsbootmenu | grep Latest | awk -F' ' '{print $4}')
if [ "$e" != "$f" ] if [ "$e" != "$f" ]
then then