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

14 lines
237 B
Bash
Executable File

#!/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