3
0
mirror of https://github.com/pragma-/pbot.git synced 2024-11-22 03:49:29 +01:00

applets/date.sh: posix directory no longer exists on current distro

This commit is contained in:
Pragmatic Software 2023-05-04 12:19:22 -07:00
parent 06650963a3
commit c9112ac809
2 changed files with 3 additions and 3 deletions

2
applets/date.sh vendored
View File

@ -2,7 +2,7 @@
export LC_TIME=C export LC_TIME=C
export TZ=UTC 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 if (( $# )) && ! read -r TZ < <(IFS=_; find -L "$TZDIR" -type f -not -iname 'West' -iname "*$**" -printf '%P\n' -quit); then
echo "No match for '$*'." echo "No match for '$*'."
exit 1 exit 1

View File

@ -25,8 +25,8 @@ use PBot::Imports;
# These are set by the /misc/update_version script # These are set by the /misc/update_version script
use constant { use constant {
BUILD_NAME => "PBot", BUILD_NAME => "PBot",
BUILD_REVISION => 4654, BUILD_REVISION => 4655,
BUILD_DATE => "2023-04-28", BUILD_DATE => "2023-05-04",
}; };
sub initialize {} sub initialize {}