]> git.xonotic.org Git - xonotic/gmqcc.git/blobdiff - doc/html/download.c
Fix that
[xonotic/gmqcc.git] / doc / html / download.c
index cfcf6367e8a8d200e1e0957c188b482813d18cb0..f31545c5c535be0855c869db36787b7845d11efd 100644 (file)
@@ -74,6 +74,9 @@ int security_decode(unsigned char *dest, const unsigned char *src, int srclen) {
 #define DEBIAN_64_REF    "%sgmqcc-%c.%c.%c-x86_64.deb%s"
 #define WINDOWS_32_REF   "%sgmqcc-%c.%c.%c-win32.zip%s"
 #define WINDOWS_64_REF   "%sgmqcc-%c.%c.%c-win64.zip%s"
+#define SLACKWARE_32_REF "%sgmqcc-%c.%c.%c-i686.txz%s"
+#define SLACKWARE_64_REF "%sgmqcc-%c.%c.%c-x86_64.txz%s"
+
 
 #define HTML "\
 <!doctype html>\
@@ -121,6 +124,10 @@ int security_decode(unsigned char *dest, const unsigned char *src, int srclen) {
       <td><a href=\"%s\">Download</a></td>\
       <td><a href=\"%s\">Download</a></td>\
      </tr>\
+     <tr>\
+      <td>Slackware</td>\
+      <td><a href=\"%s\">Download</a></td>\
+      <td><a href=\"%s\">Download</a></td>\
      <tr>\
       <td>Windows</td>\
       <td><a href=\"%s\">Download</a></td>\
@@ -140,6 +147,7 @@ int security_decode(unsigned char *dest, const unsigned char *src, int srclen) {
 static char build_table[][4096] = {
     ARCHLINUX_32_REF, ARCHLINUX_64_REF,
     DEBIAN_32_REF,    DEBIAN_64_REF,
+    SLACKWARE_32_REF, SLACKWARE_64_REF,
     WINDOWS_32_REF,   WINDOWS_64_REF
 };
 /* </tag> */
@@ -227,7 +235,8 @@ void genhtml() {
     fprintf(fp, HTML,
         build_table[0], build_table[1],
         build_table[2], build_table[3],
-        build_table[4], build_table[5]
+        build_table[4], build_table[5],
+        build_table[6], build_table[7]
     );
     fclose (fp);
 }