aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2023-06-02 17:27:55 +0200
committer Eric Hameleers <alien@slackware.com>2023-06-02 17:27:55 +0200
commitcb2b8b4b4b3c370478a5fdfbe0e138475200a7f1 (patch)
tree854a7a38f7a98df09595ff44f63a1e3fd123c8c3
parentc856d97cf314dff8d9606a8dae1d1868d7e21e68 (diff)
downloadliveslak-cb2b8b4b4b3c370478a5fdfbe0e138475200a7f1.tar.gz
liveslak-cb2b8b4b4b3c370478a5fdfbe0e138475200a7f1.tar.xz
DAW, LEAN, SLACKWARE: more detail in KDE Plasma System Info
Even when running -current, the KDE Info Center will show Slackware's stable version number. Therefore, add a line of text informing about the development status of Slackware -current when the ISO is based on it.
-rwxr-xr-xmake_slackware_live.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/make_slackware_live.sh b/make_slackware_live.sh
index ccf9de9..bffa3d2 100755
--- a/make_slackware_live.sh
+++ b/make_slackware_live.sh
@@ -2591,6 +2591,12 @@ if [ -d ${LIVE_ROOTDIR}/usr/lib${DIRSUFFIX}/kf5 ]; then
# Set the OS name to "Slackware Live" in "System Information":
echo "Name=${DISTRO^} Live" >> ${LIVE_ROOTDIR}/etc/kde/xdg/kcm-about-distrorc
+ # Use os-release's VERSION (default=false means: use VERSION_ID)
+ echo "UseOSReleaseVersion=true" >> ${LIVE_ROOTDIR}/etc/kde/xdg/kcm-about-distrorc
+ if [ "${SL_VERSION}" = "current" ]; then
+ # Some more detail on development release:
+ echo "Variant=Post-stable development (-current)" >> ${LIVE_ROOTDIR}/etc/kde/xdg/kcm-about-distrorc
+ fi
# Set sane SDDM defaults on first boot (root-owned file):
mkdir -p ${LIVE_ROOTDIR}/var/lib/sddm