#!/bin/sh unset d d="/angie/my-cache" 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