From b0d8d66f823df887ad2ec1cf91df3baaed35889c Mon Sep 17 00:00:00 2001 From: LinuxSquare Date: Sat, 9 Nov 2024 21:37:45 +0100 Subject: [PATCH] Update APP_TIMEZONE --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 96b942a..1540562 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ PREFIX ?= /usr SHARE_DIR=$(PREFIX)/share -APP_TIMEZONE=$(shell readlink /etc/localtime | cut -d/ -f5-) +APP_TIMEZONE=$(shell readlink /etc/localtime | awk -F'/' '{print $(NF-1)"/"$(NF)}') MYSQL_PASSWORD=$(shell head /dev/urandom | tr -dc 'A-Za-z0-9!?,.$%&+-:<=>@_' | head -c32) MYSQL_ROOT_PASSWORD=$(shell head /dev/urandom | tr -dc 'A-Za-z0-9!?,.$%&+-:<=>@_' | head -c32)