aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2020-05-26 13:15:16 +0300
committerCem Keylan <cem@ckyln.com>2020-05-26 13:15:16 +0300
commit16278eed2f9304c5158875f535f96f0c369a190a (patch)
treefc34693f08205ce4ea91e531b97ea68bf399a112
parent8f47b3220076639641b699f4e61b17b3bf1b93da (diff)
downloadwebsite-16278eed2f9304c5158875f535f96f0c369a190a.tar.gz
update
-rwxr-xr-xbuild10
-rw-r--r--docs/news.xml2
-rw-r--r--docs/repositories.html45
-rw-r--r--docs/repositories.txt22
-rw-r--r--docs/rss.xml2
-rw-r--r--src/repositories.md22
6 files changed, 7 insertions, 96 deletions
diff --git a/build b/build
index 72e4432..e1332f4 100755
--- a/build
+++ b/build
@@ -35,11 +35,11 @@ EOF
}
gettitle() {
- sed 1q "$1" | grep -q '^Title:' || {
- basename "$1" .md
- return 0
- }
- sed 's/^[Tt]itle: //;1q' "$1"
+ case "$(sed 1q "$1")" in
+ Title:*) sed 's/^[Tt]itle: //;1q' "$1" ;;
+ *) file=${1##*/} file=${file%.md}
+ printf '%s\n' "$file"
+ esac
}
genpages() {
diff --git a/docs/news.xml b/docs/news.xml
index 386f44c..84a6ea3 100644
--- a/docs/news.xml
+++ b/docs/news.xml
@@ -9,7 +9,7 @@
<description>a simple busybox linux distribution</description>
<link>https://carbslinux.org</link>
<atom:link href="https://carbslinux.org/news.xml" rel="self" type="application/rss+xml" />
-<lastBuildDate>May Tue 2020 16:00</lastBuildDate>
+<lastBuildDate>May Tue 2020 10:00</lastBuildDate>
<item>
<title>20200519.news</title>
<pubDate>Tue, 19 May 2020</pubDate>
diff --git a/docs/repositories.html b/docs/repositories.html
deleted file mode 100644
index 368535f..0000000
--- a/docs/repositories.html
+++ /dev/null
@@ -1,45 +0,0 @@
-<!DOCTYPE HTML>
-<html lan="en">
-<head>
-<title>repositories | Carbs Linux</title>
-<link rel="stylesheet" href="/assets/style.css">
-<meta charset="utf-8">
-<meta name="Description" content="Carbs Linux - a simple busybox linux distribution">
-<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
-</head>
-<p class=header><strong>Carbs Linux - a simple busybox linux distribution</strong></p>
-<div class="header"><nav>
-<a href='/'>index</a>
-<a href='https://github.com/CarbsLinux'>github</a>
-<a href='//dl.carbslinux.org'>downloads</a>
-<a href='/blog'>blog</a>
-<a href='/wiki'>wiki</a>
-<a href='/wiki/install.html'>installation</a>
-</nav></div><div class="border"></div>
-<h1>Repositories endorsed by Carbs</h1>
-
-<p>The power of KISS package manager is the way
-it is really flexible. You can use multiple
-repositories at the same time.</p>
-
-<h2>Official Repository</h2>
-
-<p>The official repository comes installed in
-the rootfs tarball. You can view the sources
-<a href="//git.carbslinux.org/repository/log.html">online</a></p>
-
-<h2>Other repositories</h2>
-
-<ul>
-<li><a href="https://github.com/kisslinux/community">KISS Community Repository</a></li>
-<li><a href="https://github.com/kisslinux/repo">KISS Official Repository</a></li>
-</ul>
-
-
-<p><strong>NOTE:</strong> Note that the <em>official</em> repositories of
-KISS Linux are not identical and may have conflicts.</p>
-<a href="/repositories.txt">View Page Source</a><div class=border></div>
-<p class=footer>Linux® is a registered trademark of Linus Torvalds</p>
-<p class=footer>Copyright © 2019-2020 Cem Keylan</p>
-</body>
-</html>
diff --git a/docs/repositories.txt b/docs/repositories.txt
deleted file mode 100644
index 794e451..0000000
--- a/docs/repositories.txt
+++ /dev/null
@@ -1,22 +0,0 @@
-Repositories endorsed by Carbs
-==============================
-The power of KISS package manager is the way
-it is really flexible. You can use multiple
-repositories at the same time.
-
-Official Repository
--------------------
-
-The official repository comes installed in
-the rootfs tarball. You can view the sources
-[online](//git.carbslinux.org/repository/log.html)
-
-
-Other repositories
-------------------
-
-* [KISS Community Repository](https://github.com/kisslinux/community)
-* [KISS Official Repository](https://github.com/kisslinux/repo)
-
-**NOTE:** Note that the *official* repositories of
-KISS Linux are not identical and may have conflicts.
diff --git a/docs/rss.xml b/docs/rss.xml
index abbcc79..349fba6 100644
--- a/docs/rss.xml
+++ b/docs/rss.xml
@@ -9,7 +9,7 @@
<description>a simple busybox linux distribution</description>
<link>https://carbslinux.org</link>
<atom:link href="https://carbslinux.org/rss.xml" rel="self" type="application/rss+xml" />
-<lastBuildDate>May Tue 2020 16:00</lastBuildDate>
+<lastBuildDate>May Tue 2020 10:00</lastBuildDate>
<item>
<title>The Relation of Carbs and KISS</title>
<pubDate>Fri, 08 May 2020</pubDate>
diff --git a/src/repositories.md b/src/repositories.md
deleted file mode 100644
index 794e451..0000000
--- a/src/repositories.md
+++ /dev/null
@@ -1,22 +0,0 @@
-Repositories endorsed by Carbs
-==============================
-The power of KISS package manager is the way
-it is really flexible. You can use multiple
-repositories at the same time.
-
-Official Repository
--------------------
-
-The official repository comes installed in
-the rootfs tarball. You can view the sources
-[online](//git.carbslinux.org/repository/log.html)
-
-
-Other repositories
-------------------
-
-* [KISS Community Repository](https://github.com/kisslinux/community)
-* [KISS Official Repository](https://github.com/kisslinux/repo)
-
-**NOTE:** Note that the *official* repositories of
-KISS Linux are not identical and may have conflicts.