diff options
author | ene <ene@sils.li> | 2023-02-19 13:37:08 +0100 |
---|---|---|
committer | ene <ene@sils.li> | 2023-02-19 13:37:08 +0100 |
commit | bfcebf8ac113181a9307fe6431c064497bc60d7b (patch) | |
tree | e706f25feadad03fb62003ca02e6ccb54073a72d /home-manager | |
parent | Fix(system): Fix typos (diff) | |
download | nixos-config-bfcebf8ac113181a9307fe6431c064497bc60d7b.tar.gz nixos-config-bfcebf8ac113181a9307fe6431c064497bc60d7b.zip |
Fix(lf): Update to new lib version
Diffstat (limited to 'home-manager')
-rw-r--r-- | home-manager/config/lf/cmds/mk_scr.sh | 3 |
1 files changed, 2 insertions, 1 deletions
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 |