base: import last update-evobackup-canary upstream version
This commit is contained in:
parent
ab7cc1189f
commit
e2d0256946
|
@ -3,7 +3,7 @@
|
||||||
PROGNAME="update-evobackup-canary"
|
PROGNAME="update-evobackup-canary"
|
||||||
REPOSITORY="https://gitea.evolix.org/evolix/evobackup"
|
REPOSITORY="https://gitea.evolix.org/evolix/evobackup"
|
||||||
|
|
||||||
VERSION="22.05"
|
VERSION="22.06"
|
||||||
readonly VERSION
|
readonly VERSION
|
||||||
|
|
||||||
# base functions
|
# base functions
|
||||||
|
@ -44,8 +44,8 @@ main() {
|
||||||
if [ -z "${canary_file:-}" ]; then
|
if [ -z "${canary_file:-}" ]; then
|
||||||
canary_file="/zzz_evobackup_canary"
|
canary_file="/zzz_evobackup_canary"
|
||||||
fi
|
fi
|
||||||
# This option is supported since (at least) Debian 8
|
# This option is supported both on OpenBSD which does not use GNU date and on Debian
|
||||||
date=$(date --iso-8601=seconds)
|
date=$(date "+%FT%T%z")
|
||||||
|
|
||||||
printf "%s %s\n" "${date}" "${who}" >> "${canary_file}"
|
printf "%s %s\n" "${date}" "${who}" >> "${canary_file}"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue