From 16278eed2f9304c5158875f535f96f0c369a190a Mon Sep 17 00:00:00 2001 From: Cem Keylan Date: Tue, 26 May 2020 13:15:16 +0300 Subject: update --- build | 10 +++++----- docs/news.xml | 2 +- docs/repositories.html | 45 --------------------------------------------- docs/repositories.txt | 22 ---------------------- docs/rss.xml | 2 +- src/repositories.md | 22 ---------------------- 6 files changed, 7 insertions(+), 96 deletions(-) delete mode 100644 docs/repositories.html delete mode 100644 docs/repositories.txt delete mode 100644 src/repositories.md 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 @@ a simple busybox linux distribution https://carbslinux.org -May Tue 2020 16:00 +May Tue 2020 10:00 20200519.news Tue, 19 May 2020 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 @@ - - - -repositories | Carbs Linux - - - - - -

Carbs Linux - a simple busybox linux distribution

-
-

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

- -

Other repositories

- - - - -

NOTE: Note that the official repositories of -KISS Linux are not identical and may have conflicts.

-View Page Source
- - - - 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 @@ a simple busybox linux distribution https://carbslinux.org -May Tue 2020 16:00 +May Tue 2020 10:00 The Relation of Carbs and KISS Fri, 08 May 2020 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. -- cgit v1.2.3