Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
domainepublic
alternc
Commits
25544bbe
Commit
25544bbe
authored
Mar 04, 2013
by
Steven Mondji-Lerider
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Backporting remote sql server configuration bugfix from 3.1~alpha1
parent
93a280cc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
7 deletions
+19
-7
debian/alternc.config
debian/alternc.config
+19
-7
No files found.
debian/alternc.config
View file @
25544bbe
...
...
@@ -309,16 +309,28 @@ db_set alternc/mysql/db "$MYSQL_DATABASE"
fi
db_get
alternc
/
mysql
/
user
if
[ -
z
"$RET"
]
if
[ -
z
"$RET"
]
then
db_set
alternc
/
mysql
/
user
"$MYSQL_USER"
fi
db_get
alternc
/
mysql
/
remote_user
if
[ -
z
"$RET"
]
then
db_set
alternc
/
mysql
/
user
"$MYSQL_USER"
else
db_set
alternc
/
mysql
/
user
"$RET"
fi
fi
db_get
alternc
/
mysql
/
password
if
[ -
z
"$RET"
]
then
db_set
alternc
/
mysql
/
password
"$MYSQL_PASS"
fi
then
db_get
alternc
/
mysql
/
remote_password
if
[ -
z
"$RET"
]
then
db_set
alternc
/
mysql
/
password
"$MYSQL_PASS"
else
db_set
alternc
/
mysql
/
password
"$RET"
fi
fi
db_get
alternc
/
mysql
/
client
if
[ -
z
"$RET"
]
...
...
Write
Preview
Markdown
is supported
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