gnucash-htdocs master: Fix "-setup" vs. ".setup"

Frank H.Ellenberger fell at code.gnucash.org
Sat Jul 4 13:58:20 EDT 2020


Updated	 via  https://github.com/Gnucash/gnucash-htdocs/commit/78e493e7 (commit)
	from  https://github.com/Gnucash/gnucash-htdocs/commit/0e16a0ec (commit)



commit 78e493e72ffe4808cd522f7abbc446c62ba44b12
Author: Frank H. Ellenberger <frank.h.ellenberger at gmail.com>
Date:   Sat Jul 4 19:57:15 2020 +0200

    Fix "-setup" vs. ".setup"
    
    This should no longer happen as recent, including old versions use dot.

diff --git a/download.phtml b/download.phtml
index 18a903b..aa3cf1e 100644
--- a/download.phtml
+++ b/download.phtml
@@ -19,7 +19,7 @@
 
   <h3><?php echo T_("Installers")?></h3>
   <ul class="imagelist">
-    <li class="imagelistitem" style="background-image: url(<?=$top_dir?>/images/icons/windows.png);"><?php printf (T_("GnuCash %s for"), $latest_stable)?> <a href="<?php echo $latest_stable_path.$latest_stable_win;?>">Microsoft Windows 7/8/10</a></li>
+    <li class="imagelistitem" style="background-image: url(<?=$top_dir?>/images/icons/windows.png);"><?php printf (T_("GnuCash %s for"), $latest_stable)?> <a href="<?php echo $latest_stable_path.$latest_stable_win;?>">Microsoft Windows 8/10</a></li>
     <li class="imagelistitem" style="background-image: url(<?=$top_dir?>/images/icons/macosx.png);"><?php printf (T_("GnuCash %s for"), $latest_stable)?> <a href="<?php echo $latest_stable_path.$latest_stable_mac_intel;?>">Apple macOS >= 10.13 "High Sierra"</a></li>
   </ul>
 
diff --git a/externals/global_params.php b/externals/global_params.php
index bdc29be..42d9eeb 100644
--- a/externals/global_params.php
+++ b/externals/global_params.php
@@ -50,7 +50,7 @@
      $latest_stable_win="gnucash-".$latest_stable_win.".setup.exe";
      $last_win7="gnucash-".$last_win7.".setup.exe";
      $last_xp_vista="gnucash-".$last_xp_vista_version."-setup.exe";
-     $last_win2k="gnucash-".$last_win2k_version.".setup.exe";
+     $last_win2k="gnucash-".$last_win2k_version."-setup.exe";
      $latest_stable_mac_intel="Gnucash-Intel-".$latest_stable_mac_intel.".dmg";
      $last_mac_sierra="Gnucash-Intel-".$last_mac_sierra.".dmg";
      $last_mac_ppc="Gnucash-PPC-".$last_mac_ppc.".dmg";
@@ -58,7 +58,7 @@
 
      $old_stable_path=$stable_path.$old_stable."/";
 
-     $old_stable_win="gnucash-".$old_stable_win."-setup.exe";
+     $old_stable_win="gnucash-".$old_stable_win.".setup.exe";
      $old_stable_mac_intel="Gnucash-Intel-".$old_stable_mac_intel.".dmg";
      $old_stable_source="gnucash-".$old_stable.".tar.bz2";
 



Summary of changes:
 download.phtml              | 2 +-
 externals/global_params.php | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)



More information about the gnucash-changes mailing list