From f28e605a5867d1c94ec5e64ef372ce244ba33fa2 Mon Sep 17 00:00:00 2001 From: TLSM Date: Sun, 2 Oct 2022 04:13:49 -0400 Subject: [PATCH] Update ubuntu_setup for /scripts dir. --- ubuntu_setup.sh | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/ubuntu_setup.sh b/ubuntu_setup.sh index 1795291d9..3d930fc10 100644 --- a/ubuntu_setup.sh +++ b/ubuntu_setup.sh @@ -12,8 +12,10 @@ cp ./env /env sed -i 's/^/export /g;s/=/="/g;s/$/"/g' /env . /env -cp ./startup.sh /s -cp ./startup_chat.sh /s2 +mkdir /scripts +cp ./startup.sh /scripts/s +cp ./startup_chat.sh /scripts/s2 +chmod +x /scripts/* sh -c 'echo "deb http://apt.postgresql.org/pub/repos/apt $(lsb_release -cs)-pgdg main" > /etc/apt/sources.list.d/pgdg.list' wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | apt-key add - @@ -79,4 +81,4 @@ echo "psql -U postgres" > /p echo "tmux -S /tmp/s a -t 0" > /c echo "tmux -S /tmp/s a -t 1" > /c2 echo "cd /rDrama && git pull" > /g -echo '{"Bots": true, "Fart mode": false, "Read-only mode": false, "Signups": true, "login_required": false}' > /site_settings.json \ No newline at end of file +echo '{"Bots": true, "Fart mode": false, "Read-only mode": false, "Signups": true, "login_required": false}' > /site_settings.json