1
1
mirror of http://git.sesse.net/plocate synced 2025-10-05 23:42:49 +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:
Steinar H. Gunderson
2021-02-10 21:39:37 +01:00
parent 7c16e20ed9
commit da00fbf8e6

View File

@@ -1,2 +1,9 @@
#! /bin/sh
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