Mentions légales du service

Skip to content
Snippets Groups Projects
Commit fbc4d50b authored by hhakim's avatar hhakim
Browse files

Change packages order (in sys alphabetical order), limit sha256sum output to the hash.

parent b335e959
No related branches found
No related tags found
No related merge requests found
...@@ -7,7 +7,7 @@ function usage ...@@ -7,7 +7,7 @@ function usage
function sha256sum_or_not_found function sha256sum_or_not_found
{ {
[ -r "$1" ] && sha256sum $1 || echo "file not found" [ -r "$1" ] && sha256sum $1 | awk '{print $1}' || echo "file not found"
} }
function generate_html function generate_html
...@@ -15,7 +15,7 @@ function generate_html ...@@ -15,7 +15,7 @@ function generate_html
echo "<b>Latest FAµST version: $VERSION ($(date +%D))" echo "<b>Latest FAµST version: $VERSION ($(date +%D))"
echo "<table cellpadding="5">" echo "<table cellpadding="5">"
echo "<tr><th>System</th><th>Link</th><th>SHA256</th></tr>" echo "<tr><th>System</th><th>Link</th><th>SHA256</th></tr>"
for CONF in "Linux RPM::faust-$VERSION-x86_64.rpm" "Linux DEB::faust-$VERSION-x86_64.deb" "Windows 10 EXE::faust-$VERSION-amd64.exe" "Mac OS X PKG::faust-$VERSION.pkg" for CONF in "Mac OS X PKG::faust-$VERSION.pkg" "Linux RPM::faust-$VERSION-x86_64.rpm" "Linux DEB::faust-$VERSION-x86_64.deb" "Windows 10 EXE::faust-$VERSION-amd64.exe"
do do
SYS=${CONF%%::*} SYS=${CONF%%::*}
FILE=${CONF##*::} FILE=${CONF##*::}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment