Skip to content

Commit

Permalink
rc5
Browse files Browse the repository at this point in the history
  • Loading branch information
pirog committed Oct 22, 2012
1 parent 6899d1c commit 0af339e
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 7 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@

Changelog
======================
Version 1.0-rc5
- Fixed NUCLEAR drush crush bug

Version 1.0-rc4
- Fixed image cache files not generating

Expand Down
2 changes: 1 addition & 1 deletion INSTALL.txt
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ http://www.ubuntu.com/download/server.
Premade Install
===============
If you wish to install our pre made Kalabox you can download that at.
http://files.kalamuna.com/kalabox1rc4.tar.gz
http://files.kalamuna.com/kalabox1rc5.tar.gz

Import your Box
================
Expand Down
13 changes: 7 additions & 6 deletions modules/drush/files/kala.drush.inc
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ function kala_vhost(){

$site = $pantheon['site'];

if ($pantheon != FALSE) {
if ($pantheon !== FALSE) {
if (!file_exists("/etc/nginx/sites-available/" . $site)) {
if (is_dir("/var/www/" . $site)) {
drush_shell_exec("cp /etc/nginx/sites-available/drupaldefault /tmp/" . $site);
Expand Down Expand Up @@ -226,7 +226,7 @@ function kala_code(){
$args = func_get_args();
$pantheon = _kala_get_pantheon($args[0]);

if ($pantheon != FALSE) {
if ($pantheon !== FALSE) {
drush_print_table(drush_key_value_to_array_table($pantheon));
drush_log('pantheon environment and database variables loaded', 'success');

Expand Down Expand Up @@ -276,7 +276,7 @@ function kala_data(){
$pantheon = _kala_get_pantheon($args[0]);
$pantheon['kaladb'] = str_replace("-", "_", $pantheon['site'] . "_kala");

if ($pantheon != FALSE) {
if ($pantheon !== FALSE) {

drush_print_table(drush_key_value_to_array_table($pantheon));
drush_log('pantheon environment and database variables loaded', 'success');
Expand Down Expand Up @@ -318,7 +318,7 @@ function kala_files(){

$args = func_get_args();
$pantheon = _kala_get_pantheon($args[0]);
if ($pantheon != FALSE) {
if ($pantheon !== FALSE) {

drush_print_table(drush_key_value_to_array_table($pantheon));
drush_log('pantheon environment and database variables loaded', 'success');
Expand Down Expand Up @@ -350,7 +350,7 @@ function kala_build(){

$args = func_get_args();
$pantheon = _kala_get_pantheon($args[0]);
if ($pantheon != FALSE) {
if ($pantheon !== FALSE) {

drush_print('preparing to build your pantheon site... this might take awhile');

Expand Down Expand Up @@ -385,7 +385,7 @@ function kala_destroy(){
$pantheon = _kala_get_pantheon($args[0]);
$pantheon['kaladb'] = str_replace("-", "_", $pantheon['site'] . "_kala");

if (isset($pantheon)) {
if ($pantheon !== FALSE) {

drush_print('preparing to crush your pantheon site... this might take awhile');

Expand Down Expand Up @@ -520,6 +520,7 @@ function _kala_get_pantheon($sitename) {
}
else {
drush_log('pantheon alias does not exist, please make sure you have a recent copy of all your aliases', 'error');
return FALSE;
}
}

Expand Down

0 comments on commit 0af339e

Please sign in to comment.