From 304ffe1a20b6c2797101948f1dcfa91c15244b80 Mon Sep 17 00:00:00 2001 From: Brian Zalewski Date: Thu, 12 Jan 2023 10:37:01 +0000 Subject: [PATCH] Update file run_onchange_after_19-theme-files.tmpl --- .../run_onchange_after_19-theme-files.tmpl | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/home/.chezmoiscripts/universal/run_onchange_after_19-theme-files.tmpl b/home/.chezmoiscripts/universal/run_onchange_after_19-theme-files.tmpl index 32a18234..2c5d73ba 100644 --- a/home/.chezmoiscripts/universal/run_onchange_after_19-theme-files.tmpl +++ b/home/.chezmoiscripts/universal/run_onchange_after_19-theme-files.tmpl @@ -32,12 +32,12 @@ else logg warn '~/.local/src/betelgeuse/share is missing' fi -### Flatten theme files (i.e. convert symlinks to regular files) -#if command -v squash-symlink > /dev/null; then -# logg info 'Converting all theme symlinks to equivalent regular files' -# sudo find /usr/local/share -type l -exec squash-symlink {} + -#else -# logg warn '`squash-symlink` is not a script in the PATH' -#fi +### Flatten GRUB theme files (i.e. convert symlinks to regular files) +if command -v squash-symlink > /dev/null; then + logg info 'Converting /usr/local/share/grub symlinks to equivalent regular files' + sudo find /usr/local/share/grub -type l -exec squash-symlink {} + +else + logg warn '`squash-symlink` is not a script in the PATH' +fi {{ end -}}