compose-website/scripts/import.sh
2014-11-07 15:58:15 +00:00

6 lines
143 B
Bash
Executable file

#!/bin/bash -eux
if [ -d /data/import/$DOMAIN ]; then
cp -r /data/import/$DOMAIN/* /data/domains/$DOMAIN;
rm -rf /data/import/$DOMAIN;
fi