We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b39cd06 commit ac81582Copy full SHA for ac81582
1 file changed
install
@@ -14,11 +14,11 @@ fi
14
if [ ! -d "/opt/ghost" ]; then
15
16
mkdir -p /opt/ghost
17
- if [ ! -d "/home/debian" ]; then
+ if [ -d "/home/debian" ]; then
18
chown debian:debian /opt/ghost
19
runuser -l debian -c "export NVM_DIR=/opt/nvm && source /opt/nvm/nvm.sh && nvm use v18 && ghost install --dir /opt/ghost --no-prompt"
20
fi
21
- if [ ! -d "/home/ubuntu" ]; then
+ if [ -d "/home/ubuntu" ]; then
22
chown ubuntu:ubuntu /opt/ghost
23
runuser -l ubuntu -c "export NVM_DIR=/opt/nvm && source /opt/nvm/nvm.sh && nvm use v18 && ghost install --dir /opt/ghost --no-prompt"
24
0 commit comments