1
0
angie-conv-image/doc/examples/config-template/conf/image-entry/80-my-caches.envsh

14 lines
237 B
Plaintext
Raw Normal View History

2024-09-30 22:16:55 +03:00
#!/bin/sh
unset d
d="${target_root}/cache/my-cache"
[ -d "$d" ] || install_userdir "$d"
unset p
while read -r p ; do
[ -n "$p" ] || continue
[ -d "$d/$p" ] || install_userdir "$d/$p"
done < /etc/angie/site.d/my-caches.txt
unset d p