Show off
This commit is contained in:
parent
4cda6e0f7b
commit
5cfc100c46
@ -43,6 +43,7 @@ do
|
|||||||
source "$function"
|
source "$function"
|
||||||
done
|
done
|
||||||
|
|
||||||
|
args="$@"
|
||||||
while [ -n "$1" ]
|
while [ -n "$1" ]
|
||||||
do
|
do
|
||||||
opt="$1"
|
opt="$1"
|
||||||
@ -194,11 +195,27 @@ then
|
|||||||
updateTags
|
updateTags
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
echo 'SELECT IFNULL(
|
||||||
|
(SELECT last_seen FROM source_files ORDER BY last_seen DESC LIMIT 1),
|
||||||
|
0);' >&3
|
||||||
|
read -u4 lastupdate
|
||||||
|
|
||||||
if ! [[ "$output" == - ]]
|
if ! [[ "$output" == - ]]
|
||||||
then
|
then
|
||||||
exec > "$output"
|
exec > "$output"
|
||||||
fi
|
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() {
|
printDate() {
|
||||||
date -d"@$1" +"${timeformat:-%x %X}"
|
date -d"@$1" +"${timeformat:-%x %X}"
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user