meso-web

Sources of the |Méso|Star> website
git clone git://git.meso-star.fr/meso-web.git
Log | Files | Refs | README | LICENSE

commit 902a0b1d43fa12f2fd12ff4f65e4a876b0c43fa0
parent 06617355fe79a8b678d65df89e41792168669ea5
Author: Vincent Forest <vincent.forest@meso-star.com>
Date:   Fri, 18 Feb 2022 15:56:32 +0100

Fix the meso-menu.sh script

Diffstat:
Mmeso-menu.sh | 8++++----
1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/meso-menu.sh b/meso-menu.sh @@ -281,7 +281,7 @@ print_stardis_sub_menu() { if [ "${name}" = "${man}" ]; then echo " <li id=cur>${name}</li>" else - link_path="${root}stardis/man/man${section}/man.${section}.html" + link_path="${root}stardis/man/man${section}/${man}.${section}.html" echo " <li><a href=\"${link_path}\">${man}</a></li>" fi done @@ -454,8 +454,8 @@ print_downloads() { windows=0 linux=0 case "$2" in - "*Windows*") windows=1;; - "*Linux*") linux=1;; + Windows) windows=1;; + Linux) linux=1;; *) ;; esac fi @@ -474,7 +474,7 @@ print_downloads() { dl_files="" case "${dl_files}" in - "*Sources*") continue;; + *Sources*) continue;; *) ;; esac