Browse Source

Copy dat links file into downloads directory

Bob Mottram 6 years ago
parent
commit
278eabd149
1 changed files with 4 additions and 1 deletions
  1. 4
    1
      website/deploy.sh

+ 4
- 1
website/deploy.sh View File

@@ -21,7 +21,10 @@ fi
21 21
 cp -r $lang/* $dest_dir
22 22
 cp *.css $dest_dir
23 23
 cp -r ../img/* $dest_dir/images
24
-cp $lang/images.txt $dest_dir
24
+if [ ! -d $dest_dir/downloads ]; then
25
+    mkdir $dest_dir/downloads
26
+fi
27
+cp $lang/images.txt $dest_dir/downloads
25 28
 chown -R www-data:www-data $dest_dir
26 29
 
27 30
 echo "Website deployed to $dest_dir"