mirror of
http://git.sesse.net/plocate
synced 2025-10-06 02:22:53 +02:00
Install CACHEDIR.tag in /var/lib/plocate.
This helps certain tools understand that everything in the directory is autogenerated. Suggested by Marco d'Itri.
This commit is contained in:
7
mkdir.sh
7
mkdir.sh
@@ -1,2 +1,9 @@
|
|||||||
#! /bin/sh
|
#! /bin/sh
|
||||||
mkdir -p ${DESTDIR}/"$1"
|
mkdir -p ${DESTDIR}/"$1"
|
||||||
|
|
||||||
|
cat <<EOF >${DESTDIR}/"$1"/CACHEDIR.TAG
|
||||||
|
Signature: 8a477f597d28d172789f06886806bc55
|
||||||
|
# This file is a cache directory tag created by plocate.
|
||||||
|
# For information about cache directory tags, see:
|
||||||
|
# https://bford.info/cachedir/
|
||||||
|
EOF
|
||||||
|
Reference in New Issue
Block a user