Update jellystat.sh
This commit is contained in:
parent
a246ea835f
commit
a08e96d8be
@ -194,8 +194,8 @@ function install() {
|
|||||||
}
|
}
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Create database
|
# Create database (use template0 for UTF8 encoding compatibility)
|
||||||
sudo -u postgres psql -c "CREATE DATABASE ${DB_NAME} WITH OWNER ${DB_USER} ENCODING 'UTF8';" || {
|
sudo -u postgres psql -c "CREATE DATABASE ${DB_NAME} WITH OWNER ${DB_USER} ENCODING 'UTF8' LC_COLLATE='C' LC_CTYPE='C' TEMPLATE template0;" || {
|
||||||
msg_error "Failed to create PostgreSQL database"
|
msg_error "Failed to create PostgreSQL database"
|
||||||
return 1
|
return 1
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user