mirror of
https://github.com/pragma-/pbot.git
synced 2024-11-21 19:39:44 +01:00
applets/date.sh: posix directory no longer exists on current distro
This commit is contained in:
parent
06650963a3
commit
c9112ac809
2
applets/date.sh
vendored
2
applets/date.sh
vendored
@ -2,7 +2,7 @@
|
||||
|
||||
export LC_TIME=C
|
||||
export TZ=UTC
|
||||
TZDIR=${TZDIR:-/usr/share/zoneinfo/posix}
|
||||
TZDIR=${TZDIR:-/usr/share/zoneinfo/}
|
||||
if (( $# )) && ! read -r TZ < <(IFS=_; find -L "$TZDIR" -type f -not -iname 'West' -iname "*$**" -printf '%P\n' -quit); then
|
||||
echo "No match for '$*'."
|
||||
exit 1
|
||||
|
@ -25,8 +25,8 @@ use PBot::Imports;
|
||||
# These are set by the /misc/update_version script
|
||||
use constant {
|
||||
BUILD_NAME => "PBot",
|
||||
BUILD_REVISION => 4654,
|
||||
BUILD_DATE => "2023-04-28",
|
||||
BUILD_REVISION => 4655,
|
||||
BUILD_DATE => "2023-05-04",
|
||||
};
|
||||
|
||||
sub initialize {}
|
||||
|
Loading…
Reference in New Issue
Block a user