fix symlinks and list directory to copy

This commit is contained in:
AJ ONeal 2017-11-06 17:54:23 -07:00
parent 669587a07e
commit 33c54149c0
1 changed files with 9 additions and 4 deletions

View File

@ -69,20 +69,20 @@ pushd $my_app_dir/opt/goldilocks/lib/node_modules/goldilocks/packages/assets
git pull
popd
ln -s jquery.com com.jquery
mkdir -p jquery.com
ln -s jquery.com com.jquery
pushd jquery.com
http_get 'https://code.jquery.com/jquery-3.1.1.js' jquery-3.1.1.js
popd
ln -s google.com com.google
mkdir -p google.com
ln -s google.com com.google
pushd google.com
http_get 'https://ajax.googleapis.com/ajax/libs/angularjs/1.6.2/angular.min.js' angular.1.6.2.min.js
popd
ln -s well-known .well-known
mkdir -p well-known
ln -s well-known .well-known
pushd well-known
ln -snf ../oauth3.org/well-known/oauth3 ./oauth3
popd
@ -96,7 +96,12 @@ popd
#
source ./installer/my-root.sh
echo "Pre-installation to $my_app_dir complete, now installing to $my_root/ ..."
if [ type -p tree ]; then
#tree -I "node_modules|include|share" $my_app_dir
tree -L 6 -I "include|share|npm" $my_app_dir
else
ls $my_app_dir
fi
source ./installer/my-user-my-group.sh
echo "User $my_user Group $my_group"