about summary refs log tree commit diff stats
path: root/home-manager/config/firefox/scripts/update_extensions
diff options
context:
space:
mode:
authorene <ene@sils.li>2023-04-05 17:05:39 +0200
committerene <ene@sils.li>2023-04-05 17:05:39 +0200
commitf68daa1295d142be98f90a15cb502ee4659cdf05 (patch)
tree98582d984543a421d076e04ad340627fe2f42578 /home-manager/config/firefox/scripts/update_extensions
parentStyle(treewide): Format (diff)
downloadnixos-config-f68daa1295d142be98f90a15cb502ee4659cdf05.tar.gz
nixos-config-f68daa1295d142be98f90a15cb502ee4659cdf05.zip
Fix(hm/conf/firefox/scripts): Remove need for shell lib
Diffstat (limited to 'home-manager/config/firefox/scripts/update_extensions')
-rwxr-xr-xhome-manager/config/firefox/scripts/update_extensions6
1 files changed, 3 insertions, 3 deletions
diff --git a/home-manager/config/firefox/scripts/update_extensions b/home-manager/config/firefox/scripts/update_extensions
index 88fa6b5d..7ce03e25 100755
--- a/home-manager/config/firefox/scripts/update_extensions
+++ b/home-manager/config/firefox/scripts/update_extensions
@@ -1,9 +1,9 @@
 #!/bin/sh
 # shellcheck disable=SC2086
 # shellcheck source=/dev/null
-. ~/.local/lib/shell/lib
+#. ~/.local/lib/shell/lib
 
-tmp=$(mktmp)
+tmp=$(mktemp)
 cat << EOF > $tmp
     darkreader
     keepassxc-browser
@@ -17,4 +17,4 @@ nix shell git+https://codeberg.org/ene/generate_moz_extension.git -c generate_ex
 
 
 
-if [ -d /tmp/LIB_FILE_TEMP_DIR/ ];then rm -r /tmp/LIB_FILE_TEMP_DIR/; fi
+rm "$tmp";