Skip to content

Commit 453a0a3

Browse files
authored
Added -p to mkdir /root/.gnupg (hestiacp#2386)
Added -p to mkdir /root/.gnupg and change folder permissions to 700
1 parent 39cbbff commit 453a0a3

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

install/hst-install-debian.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -691,8 +691,7 @@ fi
691691
apt=/etc/apt/sources.list.d
692692

693693
#create new folder if not all-ready exists
694-
mkdir /root/.gnupg/
695-
chmod 600 /root/.gnupg/
694+
mkdir -p /root/.gnupg/ && chmod 700 /root/.gnupg/
696695

697696
# Updating system
698697
echo "Adding required repositories to proceed with installation:"

0 commit comments

Comments
 (0)