From 202d2abe73b942cfea3a2fb9b6cf9d3a13bd1fe8 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sat, 15 Feb 2020 13:48:45 +0900 Subject: Renamed release_notes to tde_release_notes. Signed-off-by: Michele Calgaro (cherry picked from commit ca57a59e95c71d37c8f7ddf8024c64c8bcae0890) --- release_notes | 35 ----------------------------------- 1 file changed, 35 deletions(-) delete mode 100644 release_notes (limited to 'release_notes') diff --git a/release_notes b/release_notes deleted file mode 100644 index bffb9f453..000000000 --- a/release_notes +++ /dev/null @@ -1,35 +0,0 @@ -#!/bin/sh -# -# A script to open/autostart the release notes in the help -# handbook, but only once. - -# Run this script from the global autostart directory. - -# When the release version increments, this script will detect the -# difference through tde-config and a respective key in kdeglobals. -# This script then will open the release notes for that next release. -# The only file to update is: tdebase/doc/releasenotes/release_notes.docbook. - -# As this script is run as a global TDE autostart app, all -# environment variables should already be set. - -if [ "$TDEDIR" = "" ] || [ "$TDEHOME" = "" ]; then - exit 1 -fi - -RELEASE_VERSION="$( ${TDEDIR}/bin/tde-config --version | sed -n 's|^TDE: ||p' )" -RELEASE_NOTES="$( ${TDEDIR}/bin/kreadconfig --file ${TDEHOME}/share/config/kdeglobals --group "Release Notes" --key "$RELEASE_VERSION" )" - -if [ "$RELEASE_NOTES" = "" ] || [ "$RELEASE_NOTES" != "true" ]; then - echo "[release_notes] Release version: $RELEASE_VERSION" - echo "[release_notes] Release notes: $RELEASE_NOTES" - if ${TDEDIR}/bin/khelpcenter help:/khelpcenter/releasenotes ; then - ${TDEDIR}/bin/kwriteconfig --file ${TDEHOME}/share/config/kdeglobals --group "Release Notes" --key "$RELEASE_VERSION" --type bool "true" - fi - RELEASE_NOTES="$( ${TDEDIR}/bin/kreadconfig --file ${TDEHOME}/share/config/kdeglobals --group "Release Notes" --key "$RELEASE_VERSION" )" - echo "[release_notes] Release notes: $RELEASE_NOTES" -fi - -unset RELEASE_NOTES RELEASE_VERSION -exit 0 - -- cgit v1.2.1