summaryrefslogtreecommitdiff
blob: 7be25f9666bc2e0e9465da8d03635b0c3ae69c2d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/sh
# Copyright 2012-2015 Gentoo Authors; Distributed under the GPL v2

# this is ugly and I don't like it

if [[ $HOSTNAME == TODO ]]; then
	/bin/date -u +'%s %a, %d %b %Y %H:%M:%S %z' > \
		/var/tmp/gmirror/experimental/.timestamp-experimental.x
	/bin/date -u +'%s %a, %d %b %Y %H:%M:%S %z' > \
		/var/tmp/gmirror/releases/.timestamp-releases.x
fi
if [[ $HOSTNAME == dipper ]]; then
	/bin/date -u +'%s %a, %d %b %Y %H:%M:%S %z' > \
		/var/tmp/gmirror-releases/experimental/.timestamp-experimental.x
	/bin/date -u +'%s %a, %d %b %Y %H:%M:%S %z' > \
		/var/tmp/gmirror-releases/releases/.timestamp-releases.x
fi