From d0106e764e71381707be1228417ee60656fff18b Mon Sep 17 00:00:00 2001 From: Brian Zalewski Date: Tue, 31 Jan 2023 06:18:42 +0000 Subject: [PATCH] Update file run_onchange_after_40-firefox.tmpl --- .../universal/run_onchange_after_40-firefox.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/home/.chezmoiscripts/universal/run_onchange_after_40-firefox.tmpl b/home/.chezmoiscripts/universal/run_onchange_after_40-firefox.tmpl index cbf2073b..1ebe4c30 100644 --- a/home/.chezmoiscripts/universal/run_onchange_after_40-firefox.tmpl +++ b/home/.chezmoiscripts/universal/run_onchange_after_40-firefox.tmpl @@ -67,7 +67,7 @@ for SETTINGS_DIR in "$HOME/snap/firefox/common/.mozilla/firefox" "$HOME/.var/app logg info 'Finished running Firefox headlessly' fi DEFAULT_RELEASE_PROFILE="$(find "$SETTINGS_DIR" -mindepth 1 -maxdepth 1 -name "*.default-*")" - DEFAULT_PROFILE="$(find "$SETTINGS_DIR" -mindepth 1 -maxdepth 1 -name "*.default")" + DEFAULT_PROFILE="$(find "$SETTINGS_DIR" -mindepth 1 -maxdepth 1 -name "*.default" -not -name "profile.default")" if [ -n "$DEFAULT_PROFILE" ] && [ "$DEFAULT_PROFILE" != "$SETTINGS_DIR/profile.default" ]; then logg info "Renaming $DEFAULT_PROFILE to $SETTINGS_DIR/profile.default" rsync -a "$DEFAULT_PROFILE/" "$SETTINGS_DIR/profile.default"