Copy dat links file into downloads directory

This commit is contained in:
Bob Mottram 2018-06-16 13:57:45 +01:00
parent 04f2fcd4ef
commit 278eabd149
1 changed files with 4 additions and 1 deletions

View File

@ -21,7 +21,10 @@ fi
cp -r $lang/* $dest_dir cp -r $lang/* $dest_dir
cp *.css $dest_dir cp *.css $dest_dir
cp -r ../img/* $dest_dir/images 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 chown -R www-data:www-data $dest_dir
echo "Website deployed to $dest_dir" echo "Website deployed to $dest_dir"