Use the deploy helper script

This commit is contained in:
Bob Mottram 2016-09-11 16:05:50 +01:00
parent 8a03a3d904
commit 0b74de2e97
No known key found for this signature in database
GPG Key ID: 0452CC7CEA982E38
1 changed files with 2 additions and 3 deletions

View File

@ -891,9 +891,8 @@ EOF
# help
mkdir -p $rootdir/home/${MY_USERNAME}/help/images
cp $rootdir/root/${PROJECT_NAME}/website/*.css $rootdir/home/${MY_USERNAME}/help
cp -r $rootdir/root/${PROJECT_NAME}/website/EN/* $rootdir/home/${MY_USERNAME}/help
cp $rootdir/root/${PROJECT_NAME}/img/mesh* $rootdir/home/${MY_USERNAME}/help/images
cd $rootdir/root/${PROJECT_NAME}/website
./deploy.sh EN $rootdir/home/${MY_USERNAME}/help
chroot "$rootdir" chown -R ${MY_USERNAME}:${MY_USERNAME} /home/${MY_USERNAME}/help
# Tox user interface