Browse Source

Added -p to mkdir /root/.gnupg (#2386)

Added -p to mkdir /root/.gnupg and change folder permissions to 700
Gerardo 4 years ago
parent
commit
453a0a352a
1 changed files with 1 additions and 2 deletions
  1. 1 2
      install/hst-install-debian.sh

+ 1 - 2
install/hst-install-debian.sh

@@ -691,8 +691,7 @@ fi
 apt=/etc/apt/sources.list.d
 
 #create new folder if not all-ready exists
-mkdir /root/.gnupg/
-chmod 600 /root/.gnupg/
+mkdir -p /root/.gnupg/ && chmod 700 /root/.gnupg/
 
 # Updating system
 echo "Adding required repositories to proceed with installation:"