From bfcebf8ac113181a9307fe6431c064497bc60d7b Mon Sep 17 00:00:00 2001 From: ene Date: Sun, 19 Feb 2023 13:37:08 +0100 Subject: Fix(lf): Update to new lib version --- home-manager/config/lf/cmds/mk_scr.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'home-manager/config') diff --git a/home-manager/config/lf/cmds/mk_scr.sh b/home-manager/config/lf/cmds/mk_scr.sh index b6c17458..4b80e564 100644 --- a/home-manager/config/lf/cmds/mk_scr.sh +++ b/home-manager/config/lf/cmds/mk_scr.sh @@ -10,11 +10,12 @@ cat << EOF > $star # shellcheck source=/dev/null . ~/.local/lib/shell/lib +LIB_TEMP_DIR_FOR_SCRIPT=$(mktemp -d) -if [ -d /tmp/LIB_FILE_TEMP_DIR/ ];then rm -r /tmp/LIB_FILE_TEMP_DIR/; fi +if [ -d "$LIB_TEMP_DIR_FOR_SCRIPT" ];then rm -r "$LIB_TEMP_DIR_FOR_SCRIPT"; fi EOF readp "Script Name: " script_name -- cgit 1.4.1