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