This repository was archived by the owner on Mar 4, 2019. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +9
-3
lines changed Expand file tree Collapse file tree 3 files changed +9
-3
lines changed Original file line number Diff line number Diff line change 1313btr=/usr/local/src/btr_server/install
1414bcl=/usr/local/src/btr_client/install
1515
16+ # ## remove dev sites
17+ test -d /var/www/btr_dev && $btr /../dev/clone_rm.sh btr_dev
18+ test -d /var/www/bcl_dev && $btr /../dev/clone_rm.sh bcl_dev
19+
1620# ## configure domains
1721$btr /config/domain.sh
1822
@@ -36,6 +40,8 @@ $btr/config/oauth2_login.sh @bcl @btr
3640$bcl /config/translation_lng.sh
3741$btr /config/languages.sh
3842
43+ exit 0
44+
3945# ## update sites.inc
4046$btr /config/update_sites.sh $translation_lng https://$bcl_domain
4147
Original file line number Diff line number Diff line change 44
55for dir in /var/www/{btr,bcl}* /sites/default/files/{css,js}
66do
7- chroot www-data: -R $dir
7+ chown www-data: -R $dir
88done
Original file line number Diff line number Diff line change @@ -16,8 +16,8 @@ base_url=$2
1616# ## modify sites.inc
1717btr_server=/var/www/btr/profiles/btr_server
1818sed -i $btr_server /modules/custom/btrCore/includes/sites.inc \
19- -e " /return array/,/}/ d"
20- sed << EOF >> $btr_server /modules/custom/btrCore/includes/sites.inc \
19+ -e ' /return array/,/}/ d'
20+ cat << EOF >> $btr_server /modules/custom/btrCore/includes/sites.inc
2121 return array(
2222 '$lng ' => array(
2323 'base_url' => '$base_url ',
You can’t perform that action at this time.
0 commit comments