Show off
This commit is contained in:
parent
4cda6e0f7b
commit
5cfc100c46
@ -43,6 +43,7 @@ do
|
||||
source "$function"
|
||||
done
|
||||
|
||||
args="$@"
|
||||
while [ -n "$1" ]
|
||||
do
|
||||
opt="$1"
|
||||
@ -194,11 +195,27 @@ then
|
||||
updateTags
|
||||
fi
|
||||
|
||||
echo 'SELECT IFNULL(
|
||||
(SELECT last_seen FROM source_files ORDER BY last_seen DESC LIMIT 1),
|
||||
0);' >&3
|
||||
read -u4 lastupdate
|
||||
|
||||
if ! [[ "$output" == - ]]
|
||||
then
|
||||
exec > "$output"
|
||||
fi
|
||||
|
||||
cat <<-EOBrag
|
||||
# Generated by AtOM's createindex toy.
|
||||
# https://gitorious.org/atom
|
||||
# (C) 2012-2013 Vincent Riquer (GPL-3)
|
||||
#
|
||||
# $0 $args
|
||||
#
|
||||
# Last database update: $(date -d @$lastupdate +'%x %X')
|
||||
|
||||
EOBrag
|
||||
|
||||
printDate() {
|
||||
date -d"@$1" +"${timeformat:-%x %X}"
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user