From 3a363c648641314ed3d20d4c9f363cf01072c301 Mon Sep 17 00:00:00 2001 From: Galen Guyer Date: Tue, 9 Aug 2022 18:23:15 -0400 Subject: add logging module --- modules/40-neofetch/install.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'modules/40-neofetch') diff --git a/modules/40-neofetch/install.sh b/modules/40-neofetch/install.sh index 65a90d3..c432a71 100644 --- a/modules/40-neofetch/install.sh +++ b/modules/40-neofetch/install.sh @@ -12,10 +12,11 @@ function preinstall() { function install() { # backup old file if it exists and we haven't backed it up before if [[ -f "$HOME/.config/neofetch/config.conf" ]] && ! [[ -f "$HOME/.config/neofetch/config.conf.bak" ]] && ! [[ -f "$_scriptdir/.firstrun" ]]; then - echo "making backup" + log verbose "making backup" cp "$HOME/.config/neofetch/config.conf" "$HOME/.config/neofetch/config.conf.bak" touch "$_scriptdir/.firstrun" fi + log info "linking neofetch config" ln -f "$_scriptdir/config.conf" "$HOME/.config/neofetch/config.conf" } -- cgit v1.2.3