From 1a678a34cdc702916ecc3dd88b12a4a55c3aea41 Mon Sep 17 00:00:00 2001 From: Eric Hameleers Date: Sun, 1 Jan 2023 17:38:45 +0100 Subject: Overwrite /etc/localtime if it exists --- make_slackware_live.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/make_slackware_live.sh b/make_slackware_live.sh index dc5fa80..d91f371 100755 --- a/make_slackware_live.sh +++ b/make_slackware_live.sh @@ -1766,7 +1766,7 @@ echo "LANG=${DEF_LOCALE}" > ${LIVE_ROOTDIR}/etc/locale.conf echo "KEYMAP=${DEF_KBD}" > ${LIVE_ROOTDIR}/etc/vconsole.conf # Set timezone to UTC, mimicking the 'timeconfig' script in Slackware: -ln -s /usr/share/zoneinfo/UTC ${LIVE_ROOTDIR}/etc/localtime +ln -sf /usr/share/zoneinfo/UTC ${LIVE_ROOTDIR}/etc/localtime # Could be absent so 'rm -f' to avoid script aborts: rm -f ${LIVE_ROOTDIR}/etc/localtime-copied-from -- cgit v1.2.3