From da00fbf8e69391ce561cfec6da543b9726137870 Mon Sep 17 00:00:00 2001 From: "Steinar H. Gunderson" Date: Wed, 10 Feb 2021 21:39:37 +0100 Subject: [PATCH] Install CACHEDIR.tag in /var/lib/plocate. This helps certain tools understand that everything in the directory is autogenerated. Suggested by Marco d'Itri. --- mkdir.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/mkdir.sh b/mkdir.sh index 99d7634..36ee226 100755 --- a/mkdir.sh +++ b/mkdir.sh @@ -1,2 +1,9 @@ #! /bin/sh mkdir -p ${DESTDIR}/"$1" + +cat <${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 -- 2.39.2