From d76c753ee05929fb53220141f1c8c11f31887466 Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Thu, 9 Oct 2025 23:03:14 -0400 Subject: samples pod dir now markup/pod-samples/pod - markup/pod-samples/pod from markup/pod --- .../live-manual/media/text/bin/update-version.sh | 31 ---------------------- 1 file changed, 31 deletions(-) delete mode 100755 markup/pod/live-manual/media/text/bin/update-version.sh (limited to 'markup/pod/live-manual/media/text/bin/update-version.sh') diff --git a/markup/pod/live-manual/media/text/bin/update-version.sh b/markup/pod/live-manual/media/text/bin/update-version.sh deleted file mode 100755 index 3a9d2e4..0000000 --- a/markup/pod/live-manual/media/text/bin/update-version.sh +++ /dev/null @@ -1,31 +0,0 @@ -#!/bin/sh - -set -e - -VERSION="$(cat ../VERSION)" - -DAY="$(LC_ALL=C date +%d)" -MONTH="$(LC_ALL=C date +%m)" -YEAR="$(LC_ALL=C date +%Y)" - -echo "Updating version information..." -sed -i -e "s|^ :published:.*$| :published: ${YEAR}-${MONTH}-${DAY}|" \ - -e "s|(C) 2006-.*|(C) 2006-${YEAR} Live Systems Project|" \ -en/live-manual.ssm - -# European date format -for _LANGUAGE in ca de es fr it pl ro -do - if [ -e po/${_LANGUAGE}/live-manual.ssm.po ] - then - sed -i -e "s|:published: .*.${YEAR}|:published: ${DAY}.${MONTH}.${YEAR}|" \ - po/${_LANGUAGE}/live-manual.ssm.po - fi -done - -# Brazilian date format -if [ -e po/pt_BR/live-manual.ssm.po ] -then - sed -i -e "s|:published: .*-${YEAR}|:published: ${DAY}-${MONTH}-${YEAR}|" \ - po/pt_BR/live-manual.ssm.po -fi -- cgit v1.2.3