From 278eabd149a529df03028ec14bf9adf0dd8cdbea Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sat, 16 Jun 2018 13:57:45 +0100 Subject: [PATCH] Copy dat links file into downloads directory --- website/deploy.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/website/deploy.sh b/website/deploy.sh index 3d356ff4..99d59331 100755 --- a/website/deploy.sh +++ b/website/deploy.sh @@ -21,7 +21,10 @@ fi cp -r $lang/* $dest_dir cp *.css $dest_dir cp -r ../img/* $dest_dir/images -cp $lang/images.txt $dest_dir +if [ ! -d $dest_dir/downloads ]; then + mkdir $dest_dir/downloads +fi +cp $lang/images.txt $dest_dir/downloads chown -R www-data:www-data $dest_dir echo "Website deployed to $dest_dir"