Browse Source

site specific files

Abram Connelly 6 năm trước cách đây
mục cha
commit
cc5920893b
1 tập tin đã thay đổi với 8 bổ sung0 xóa
  1. 8 0
      server/diu_packager/create_popufare_package.sh

+ 8 - 0
server/diu_packager/create_popufare_package.sh

@@ -42,6 +42,14 @@ pushd stage/$pkgdir > /dev/null
   cp $DIUDIR/scripts/package_install.sh install.sh
   touch popufare.witness
 
+  # copy over site specific files that overwrite default
+  # files.
+  #
+  for fn in `find ../../site -type f` ; do
+    dstfn=`echo "$fn" | sed 's;^\.\./\.\./site\/;;'`
+    cp -L -f $fn $dstfn
+  done
+
   tar -czf ../$pkgfile *
 
 popd > /dev/null