Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
provision
Commits
38ad53e9
Commit
38ad53e9
authored
Mar 31, 2011
by
anarcat
Browse files
more debugging
parent
3394ffd9
Changes
1
Hide whitespace changes
Inline
Side-by-side
debian/aegir-hostmaster.postinst
View file @
38ad53e9
...
...
@@ -57,8 +57,9 @@ case "$1" in
echo
"upgrading the frontend from
$drupal_root
to
$NEW_PLATFORM
"
cd
"
$drupal_root
"
su
-s
/bin/sh aegir
-c
"drush hostmaster-migrate
$FLAGS
'
$site_uri
' '
$NEW_PLATFORM
'"
echo
"upgrade finished"
cd
$HOME
sites
=
`
ls
"
$drupal_root
/sites"
| egrep
-v
'^all|default$'
`
sites
=
`
ls
"
$drupal_root
/sites"
| egrep
-v
'^all|default$'
||
true
`
if
[
-z
"
$sites
"
]
;
then
echo
"backing up old platform to
$HOME
/backups/
$drupal_root
.tgz"
tar
-c
-z
-f
"
$HOME
/backups/
$drupal_root
.tgz"
"
$drupal_root
"
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment