[X2Go-Commits] [live-build-x2go] 91/160: write timestamps to text file, for easier querying by checkscripts
    git-admin at x2go.org 
    git-admin at x2go.org
       
    Sat Nov 18 01:55:46 CET 2017
    
    
  
This is an automated email from the git hooks/post-receive script.
x2go pushed a commit to branch feature/openbox
in repository live-build-x2go.
commit de210f555624f1deb23acea2a1f6130bde50de24
Author: Stefan Baur (BAUR-ITCS) <kontakt at baur-itcs.de>
Date:   Tue Jul 25 17:44:10 2017 +0200
    write timestamps to text file, for easier querying by checkscripts
---
 config/includes.chroot/lib/live/config/2400-live-autoupdate | 3 +++
 1 file changed, 3 insertions(+)
diff --git a/config/includes.chroot/lib/live/config/2400-live-autoupdate b/config/includes.chroot/lib/live/config/2400-live-autoupdate
index bdf770c..cc33e7b 100755
--- a/config/includes.chroot/lib/live/config/2400-live-autoupdate
+++ b/config/includes.chroot/lib/live/config/2400-live-autoupdate
@@ -7,9 +7,12 @@ show_versions ()
 	LISTOFTIMESTAMPFILES=$(find /lib/live/mount/findiso/boot -name "x2go-tce-timestamp")
 	if [ -n "$LISTOFTIMESTAMPFILES" ]; then
 		echo -n "\n$(date +'%F | %T | ')'$0': List of locally stored TCE versions:"
+		echo "--- BEGIN TIMESTAMPS ---" >/var/run/x2go-tce-timestamps
 		for TIMESTAMPFILE in $LISTOFTIMESTAMPFILES; do 
+			echo "$(basename $(dirname $TIMESTAMPFILE));$(cat $TIMESTAMPFILE);" >>/var/run/x2go-tce-timestamps
 			echo -n "\n$(date +'%F | %T | ')'$0': $(basename $(dirname $TIMESTAMPFILE)) $(cat $TIMESTAMPFILE) - $(date --date=@$(cat $TIMESTAMPFILE))"
 		done
+		echo "---- END TIMESTAMPS ----" >>/var/run/x2go-tce-timestamps
 	fi
 }
 
--
Alioth's /srv/git/code.x2go.org/live-build-x2go.git//..//_hooks_/post-receive-email on /srv/git/code.x2go.org/live-build-x2go.git
    
    
More information about the x2go-commits
mailing list