From bb9a6f18f4f5c044eb154efb6c03092ba4fcf8d8 Mon Sep 17 00:00:00 2001 From: Chris Koeritz Date: Fri, 18 May 2018 09:56:14 -0400 Subject: [PATCH] nice mod to use username for customization instead of assuming everybody loves the fred customization set, this now defaults to the user name as the customization package. --- scripts/core/functions.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/core/functions.sh b/scripts/core/functions.sh index db6d9909..efc7df54 100644 --- a/scripts/core/functions.sh +++ b/scripts/core/functions.sh @@ -467,15 +467,15 @@ if [ -z "$skip_all" ]; then local custom_user="$1"; shift if [ -z "$custom_user" ]; then # use our default example user if there was no name provided. - custom_user=fred + custom_user=$(logname) fi save_terminal_title if [ ! -d "$FEISTY_MEOW_SCRIPTS/customize/$custom_user" ]; then - echo "The customization folder provided for $custom_user should be:" - echo " '$FEISTY_MEOW_SCRIPTS/customize/$custom_user'" - echo "but that folder does not exist. Skipping customization." + echo "The customization folder for '$custom_user' would be:" + echo " $FEISTY_MEOW_SCRIPTS/customize/$custom_user" + echo "but that folder does not exist. Skipping recustomization." return 1 fi -- 2.34.1