From e9f39402c453e1cfebc1105d9515ef30346d6ac0 Mon Sep 17 00:00:00 2001 From: Cem Keylan Date: Wed, 16 Sep 2020 02:53:37 +0300 Subject: cpt: add news tool for viewing... news --- core/cpt/build | 1 + core/cpt/checksums | 1 + core/cpt/files/news | 4 ++++ core/cpt/message | 8 +++----- core/cpt/sources | 1 + core/cpt/version | 2 +- 6 files changed, 11 insertions(+), 6 deletions(-) create mode 100644 core/cpt/files/news (limited to 'core') diff --git a/core/cpt/build b/core/cpt/build index 08374058..92a0f63c 100755 --- a/core/cpt/build +++ b/core/cpt/build @@ -1,3 +1,4 @@ #!/bin/sh -e make PREFIX=/usr DESTDIR="$1" install +install -Dm755 news "$1/usr/bin/cpt-news" diff --git a/core/cpt/checksums b/core/cpt/checksums index 34651014..3b5adde9 100644 --- a/core/cpt/checksums +++ b/core/cpt/checksums @@ -1 +1,2 @@ 68a9d43a430360bc6a8c2245c7cde8f04502459dba1d366fd41103910c2fa400 4.1.0.tar.gz +6813f2db74869f07eceb79421670d6a5ad51c54070f8d19ff1b6fd739297b02c news diff --git a/core/cpt/files/news b/core/cpt/files/news new file mode 100644 index 00000000..853d0cae --- /dev/null +++ b/core/cpt/files/news @@ -0,0 +1,4 @@ +#!/bin/sh -e +# Read news and announcements from Carbs Linux + +curl -sfL https://carbslinux.org/news.txt | ${PAGER:-less} diff --git a/core/cpt/message b/core/cpt/message index a88bdd77..271062b6 100644 --- a/core/cpt/message +++ b/core/cpt/message @@ -1,7 +1,5 @@ -IMPORTANT +NOTE - kiss has been replaced with cpt (Carbs Packaging Tools). You will - have to rename your kiss-related variables from KISS-* to CPT-*. - Even though usage more or less the same with kiss, you may want to - check the manual pages (each tool has its own). + 'cpt-news' tool was added to see news about the distribution. Feel free to + check it out and give your feedback. diff --git a/core/cpt/sources b/core/cpt/sources index cb141eab..c7819712 100644 --- a/core/cpt/sources +++ b/core/cpt/sources @@ -1 +1,2 @@ https://github.com/carbslinux/cpt/archive/4.1.0.tar.gz +files/news diff --git a/core/cpt/version b/core/cpt/version index 1bc2766f..6a718ca4 100644 --- a/core/cpt/version +++ b/core/cpt/version @@ -1 +1 @@ -4.1.0 1 +4.1.0 2 -- cgit v1.2.3