mirror of
https://github.com/kuhyx/WUT_Computer_Science.git
synced 2026-11-11 14:27:38 +01:00
feat: debian uses create database sudo systemctl
This commit is contained in:
parent
60b30c7af8
commit
73605c2c04
@ -18,7 +18,7 @@ elif [[ -f /etc/debian_version ]]; then
|
|||||||
# Debian-based (Debian, Ubuntu, etc.)
|
# Debian-based (Debian, Ubuntu, etc.)
|
||||||
echo "Detected Debian-based Linux"
|
echo "Detected Debian-based Linux"
|
||||||
INSTALL_CMD="sudo apt-get install -y"
|
INSTALL_CMD="sudo apt-get install -y"
|
||||||
SERVICE_CMD="sudo service"
|
SERVICE_CMD="sudo systemctl"
|
||||||
CONFIG_DIR="/etc/postgresql"
|
CONFIG_DIR="/etc/postgresql"
|
||||||
else
|
else
|
||||||
echo "Unsupported Linux distribution. Exiting."
|
echo "Unsupported Linux distribution. Exiting."
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user