Skip to content

Commit ac81582

Browse files
committed
wip
1 parent b39cd06 commit ac81582

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

install

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@ fi
1414
if [ ! -d "/opt/ghost" ]; then
1515

1616
mkdir -p /opt/ghost
17-
if [ ! -d "/home/debian" ]; then
17+
if [ -d "/home/debian" ]; then
1818
chown debian:debian /opt/ghost
1919
runuser -l debian -c "export NVM_DIR=/opt/nvm && source /opt/nvm/nvm.sh && nvm use v18 && ghost install --dir /opt/ghost --no-prompt"
2020
fi
21-
if [ ! -d "/home/ubuntu" ]; then
21+
if [ -d "/home/ubuntu" ]; then
2222
chown ubuntu:ubuntu /opt/ghost
2323
runuser -l ubuntu -c "export NVM_DIR=/opt/nvm && source /opt/nvm/nvm.sh && nvm use v18 && ghost install --dir /opt/ghost --no-prompt"
2424
fi

0 commit comments

Comments
 (0)