diff options
author | ene <ene@sils.li> | 2023-04-03 18:45:02 +0200 |
---|---|---|
committer | ene <ene@sils.li> | 2023-04-03 18:45:02 +0200 |
commit | 4dea0028b638b4e3a4c4002ddf8d00e639b142e3 (patch) | |
tree | 61e41b94427ff95290df55769b5c91be7bb9f887 /home-manager/packages/scripts/small_functions/deprecated/locate_rewrite | |
parent | Fix(hm/packages/scripts): Add update script (diff) | |
download | nixos-config-4dea0028b638b4e3a4c4002ddf8d00e639b142e3.zip |
Fix(hm/packages/scripts): Remove deprecated scripts
Diffstat (limited to 'home-manager/packages/scripts/small_functions/deprecated/locate_rewrite')
-rwxr-xr-x | home-manager/packages/scripts/small_functions/deprecated/locate_rewrite/locate | 2 | ||||
-rwxr-xr-x | home-manager/packages/scripts/small_functions/deprecated/locate_rewrite/update_locate_database | 8 |
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} - |