about summary refs log tree commit diff stats
path: root/home-manager/packages/scripts/wrappers
diff options
context:
space:
mode:
authorene <ene@sils.li>2023-03-18 18:07:42 +0100
committerene <ene@sils.li>2023-03-18 18:07:42 +0100
commit6b60bf018b681553991a3e51c5d0478f162661d0 (patch)
tree689540343251f16bd2fb2a6a881e115d4c92c8e5 /home-manager/packages/scripts/wrappers
parentFix(hm/conf/lf): Add missing dependencies for cmds (diff)
downloadnixos-config-6b60bf018b681553991a3e51c5d0478f162661d0.tar.gz
nixos-config-6b60bf018b681553991a3e51c5d0478f162661d0.zip
Fix(hm/packages/scripts): Update (some) scripts to new sh lib
Diffstat (limited to '')
-rwxr-xr-xhome-manager/packages/scripts/wrappers/ll5
-rwxr-xr-xhome-manager/packages/scripts/wrappers/virsh-del4
2 files changed, 0 insertions, 9 deletions
diff --git a/home-manager/packages/scripts/wrappers/ll b/home-manager/packages/scripts/wrappers/ll
index d2e9cd84..16dd4c72 100755
--- a/home-manager/packages/scripts/wrappers/ll
+++ b/home-manager/packages/scripts/wrappers/ll
@@ -4,8 +4,6 @@
 # . ~/.local/lib/shell/lib
 . %SHELL_LIBRARY_PATH
 
-LIB_TEMP_DIR_FOR_SCRIPT=$(mktemp -d)
-
 export LLP=0
 tmp="$(mktmp)"
 
@@ -18,7 +16,4 @@ if [ -f "$tmp" ]; then
     fi
 fi
 
-
-if [ -d "$LIB_TEMP_DIR_FOR_SCRIPT" ];then rm -r "$LIB_TEMP_DIR_FOR_SCRIPT"; fi
-
 # vim: ft=sh
diff --git a/home-manager/packages/scripts/wrappers/virsh-del b/home-manager/packages/scripts/wrappers/virsh-del
index 1ec930bf..584c53c5 100755
--- a/home-manager/packages/scripts/wrappers/virsh-del
+++ b/home-manager/packages/scripts/wrappers/virsh-del
@@ -3,12 +3,8 @@
 # shellcheck source=/dev/null
 . %SHELL_LIBRARY_PATH
 
-LIB_TEMP_DIR_FOR_SCRIPT=$(mktemp -d);
-
 virsh destroy "$1"
 virsh undefine "$1" --nvram
 virsh vol-delete --pool default "$1".qcow2
 
 
-
-if [ -d "$LIB_TEMP_DIR_FOR_SCRIPT" ];then rm -r "$LIB_TEMP_DIR_FOR_SCRIPT"; fi