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 git pull
popd popd
ln -s jquery.com com.jquery
mkdir -p jquery.com mkdir -p jquery.com
ln -s jquery.com com.jquery
pushd jquery.com pushd jquery.com
http_get 'https://code.jquery.com/jquery-3.1.1.js' jquery-3.1.1.js http_get 'https://code.jquery.com/jquery-3.1.1.js' jquery-3.1.1.js
popd popd
ln -s google.com com.google
mkdir -p google.com mkdir -p google.com
ln -s google.com com.google
pushd google.com pushd google.com
http_get 'https://ajax.googleapis.com/ajax/libs/angularjs/1.6.2/angular.min.js' angular.1.6.2.min.js http_get 'https://ajax.googleapis.com/ajax/libs/angularjs/1.6.2/angular.min.js' angular.1.6.2.min.js
popd popd
ln -s well-known .well-known
mkdir -p well-known mkdir -p well-known
ln -s well-known .well-known
pushd well-known pushd well-known
ln -snf ../oauth3.org/well-known/oauth3 ./oauth3 ln -snf ../oauth3.org/well-known/oauth3 ./oauth3
popd popd
@ -96,7 +96,12 @@ popd
# #
source ./installer/my-root.sh source ./installer/my-root.sh
echo "Pre-installation to $my_app_dir complete, now installing to $my_root/ ..." echo "Pre-installation to $my_app_dir complete, now installing to $my_root/ ..."
ls $my_app_dir 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 source ./installer/my-user-my-group.sh
echo "User $my_user Group $my_group" echo "User $my_user Group $my_group"