about summary refs log tree commit diff stats
path: root/home-manager/packages/scripts/small_functions/deprecated/locate_rewrite
diff options
context:
space:
mode:
authorene <ene@sils.li>2023-04-03 18:45:02 +0200
committerene <ene@sils.li>2023-04-03 18:45:02 +0200
commit4dea0028b638b4e3a4c4002ddf8d00e639b142e3 (patch)
tree61e41b94427ff95290df55769b5c91be7bb9f887 /home-manager/packages/scripts/small_functions/deprecated/locate_rewrite
parentFix(hm/packages/scripts): Add update script (diff)
downloadnixos-config-4dea0028b638b4e3a4c4002ddf8d00e639b142e3.zip
Fix(hm/packages/scripts): Remove deprecated scripts
Diffstat (limited to 'home-manager/packages/scripts/small_functions/deprecated/locate_rewrite')
-rwxr-xr-xhome-manager/packages/scripts/small_functions/deprecated/locate_rewrite/locate2
-rwxr-xr-xhome-manager/packages/scripts/small_functions/deprecated/locate_rewrite/update_locate_database8
2 files changed, 0 insertions, 10 deletions
diff --git a/home-manager/packages/scripts/small_functions/deprecated/locate_rewrite/locate b/home-manager/packages/scripts/small_functions/deprecated/locate_rewrite/locate
deleted file mode 100755
index 3dbddae9..00000000
--- a/home-manager/packages/scripts/small_functions/deprecated/locate_rewrite/locate
+++ /dev/null
@@ -1,2 +0,0 @@
-#! /bin/bash
-awk --assign=se=$1 ' $0 ~ se {print $0} ' "${LOCATE_DATABASE}"
diff --git a/home-manager/packages/scripts/small_functions/deprecated/locate_rewrite/update_locate_database b/home-manager/packages/scripts/small_functions/deprecated/locate_rewrite/update_locate_database
deleted file mode 100755
index 88330ff6..00000000
--- a/home-manager/packages/scripts/small_functions/deprecated/locate_rewrite/update_locate_database
+++ /dev/null
@@ -1,8 +0,0 @@
-#! /bin/bash
-LOCATE_DATABASE="/home/dt/.cache/locate.db"
-if [ ! -e ${LOCATE_DATABASE} ]; then
-    touch ${LOCATE_DATABASE}
-fi
-echo $(date) > ${LOCATE_DATABASE}
-sudo find / >> ${LOCATE_DATABASE}
-