mirror of
https://codeberg.org/streams/streams.git
synced 2024-09-19 16:15:13 +00:00
Changed the way presence of mysql server is tested ("which" rather than "type")
This commit is contained in:
parent
e4343c3b5a
commit
1f046602d1
2 changed files with 2 additions and 2 deletions
|
@ -24,7 +24,7 @@
|
|||
|
||||
server {
|
||||
listen 80;
|
||||
listen [::]:80
|
||||
listen [::]:80;
|
||||
server_name SERVER_NAME;
|
||||
|
||||
charset utf-8;
|
||||
|
|
|
@ -364,7 +364,7 @@ function install_mysql {
|
|||
then
|
||||
die "mysqlpass not set in $configfile"
|
||||
fi
|
||||
if type mysql
|
||||
if [ ! -z $(which mysql) ]
|
||||
then
|
||||
echo "mysql is already installed"
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue