Browse Source

Add special case for carla-vst-wine; Update repo package

Signed-off-by: falkTX <falktx@falktx.com>
pull/14/head
falkTX 5 years ago
parent
commit
7debeb27aa
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
3 changed files with 20 additions and 4 deletions
  1. +9
    -0
      News.php
  2. +1
    -1
      Repositories.php
  3. +10
    -3
      repo/generate-repo-page.sh

+ 9
- 0
News.php View File

@@ -8,6 +8,15 @@ include_once("includes/header.php");

<p><b>THIS IS A FAKE PAGE, KXSTUDIO NEWS USES A DYNAMIC MODULE NOW</b></p>

<p>
<span style="font-size: 20px">&gt; KXStudio Monthly Report (December 2019)</span><br/>
On <i>2019-11-15</i> by<i> falkTX</i>
</p>

This is a WIP list of stuff that changed since the last report.

<hr/>

<p>
<span style="font-size: 20px">&gt; KXStudio Monthly Report (November 2019)</span><br/>
On <i>2019-10-15</i> by<i> falkTX</i>


+ 1
- 1
Repositories.php View File

@@ -5,7 +5,7 @@ $PAGE_SOURCE_1 = ARRAY("/Repositories");
$PAGE_SOURCE_2 = ARRAY("Repositories");
include_once("includes/header.php");

$DEBIAN_PACKAGE = "kxstudio-repos_10.0.2_all.deb";
$DEBIAN_PACKAGE = "kxstudio-repos_10.0.3_all.deb";
$DEBIAN_PACKAGE_URL = "https://launchpad.net/~kxstudio-debian/+archive/kxstudio/+files/" . $DEBIAN_PACKAGE;
?>



+ 10
- 3
repo/generate-repo-page.sh View File

@@ -153,11 +153,18 @@ for PACKAGE in ${PACKAGES[@]}; do
fi
echo "<tr><td>Downloads:</td><td>"
if echo "${PACKAGE_FILENAME}" | grep -q "carla-bridge-win32_"; then
echo "<a href=\"${PACKAGES_BASE_URL}${PACKAGE_FILENAME}\" target=\"_blank\">i386</a>&nbsp;&nbsp;"
echo "<a href=\"${PACKAGES_BASE_URL}${PACKAGE_FILENAME}\" target=\"_blank\">i386</a>&nbsp;&nbsp;"
elif echo "${PACKAGE_FILENAME}" | grep -q "carla-bridge-win64_"; then
echo "<a href=\"${PACKAGES_BASE_URL}${PACKAGE_FILENAME}\" target=\"_blank\">amd64</a>&nbsp;&nbsp;"
echo "<a href=\"${PACKAGES_BASE_URL}${PACKAGE_FILENAME}\" target=\"_blank\">amd64</a>&nbsp;&nbsp;"
elif echo "${PACKAGE_FILENAME}" | grep -q "carla-vst-wine_"; then
# amd64
echo "<a href=\"${PACKAGES_BASE_URL}${PACKAGE_FILENAME}\" target=\"_blank\">amd64</a>&nbsp;&nbsp;"
# i386
PACKAGE_FILENAME_ARCHED=$(echo "${PACKAGE_FILENAME}" | sed "s/_amd64.deb/_i386.deb/g")
echo "<a href=\"${PACKAGES_BASE_URL}${PACKAGE_FILENAME_ARCHED}\" target=\"_blank\">i386</a>&nbsp;&nbsp;"

elif echo "${PACKAGE_FILENAME}" | grep -q "_all.deb"; then
echo "<a href=\"${PACKAGES_BASE_URL}${PACKAGE_FILENAME}\" target=\"_blank\">all</a>&nbsp;&nbsp;"
echo "<a href=\"${PACKAGES_BASE_URL}${PACKAGE_FILENAME}\" target=\"_blank\">all</a>&nbsp;&nbsp;"
else
for ARCH in ${PACKAGES_ARCHS[@]}; do
PACKAGE_FILENAME_ARCHED=$(echo "${PACKAGE_FILENAME}" | sed "s/_amd64.deb/_${ARCH}.deb/g")


Loading…
Cancel
Save