Changeset 1774
- Timestamp:
- Jan 24, 2011, 11:07:50 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/locker-dev/locker/deploy/bin/django
r1414 r1774 56 56 if (/Your Name/) { 57 57 $_ = " ('$USER', '$email'),"; 58 } elsif (/ ^DATABASE_ENGINE/) {59 $_ = " DATABASE_ENGINE = 'mysql'";60 } elsif (/ ^DATABASE_NAME/) {61 $_ = " DATABASE_NAME = '$sqldb'";62 } elsif (/ ^DATABASE_USER/) {63 $_ = " DATABASE_USER = '$sqluser'";64 } elsif (/ ^DATABASE_PASSWORD/) {65 $_ = " DATABASE_PASSWORD = '$sqlpass'";66 } elsif (/ ^DATABASE_HOST/) {67 $_ = " DATABASE_HOST = '$sqlhost'";58 } elsif (/'ENGINE'/) { 59 $_ = " 'ENGINE': 'django.db.backends.mysql',"; 60 } elsif (/'NAME'/) { 61 $_ = " 'NAME': '$sqldb',"; 62 } elsif (/'USER'/) { 63 $_ = " 'USER': '$sqluser',"; 64 } elsif (/'PASSWORD'/) { 65 $_ = " 'PASSWORD': '$sqlpass',"; 66 } elsif (/'HOST'/) { 67 $_ = " 'HOST': '$sqlhost',"; 68 68 } elsif (/Chicago/) { 69 69 $_ =~ s/Chicago/New_York/;
Note: See TracChangeset
for help on using the changeset viewer.