Browse Source

wip

* still fiddling with proper install and site specific files
Abram Connelly 6 years ago
parent
commit
b3aa93321e

+ 7 - 0
busunit/scripts/package_install.sh

@@ -81,6 +81,13 @@ pushd $tmpdir > /dev/null
   #
   #
   touch $CONFIGDIR/popufare.witness
   touch $CONFIGDIR/popufare.witness
 
 
+  # install site specific files
+  #
+  for fn in `find site -type f` ; do
+    dstfn=`echo $fn | sed 's;^site;;'`
+    cp -L $fn $dstfn
+  done
+
 popd > /dev/null
 popd > /dev/null
 
 
 sleep 1
 sleep 1

+ 1 - 4
server/diu_packager/create_popufare_package.sh

@@ -45,10 +45,7 @@ pushd stage/$pkgdir > /dev/null
   # copy over site specific files that overwrite default
   # copy over site specific files that overwrite default
   # files.
   # files.
   #
   #
-  for fn in `find ../../site -type f` ; do
-    dstfn=`echo "$fn" | sed 's;^\.\./\.\./site\/;;'`
-    cp -L -f $fn $dstfn
-  done
+  cp -R ../../site .
 
 
   tar -czf ../$pkgfile *
   tar -czf ../$pkgfile *