Skip to content

Commit fad19a6

Browse files
authored
Fixed /root/.gnupg permissions in hst-install-ubuntu.sh (hestiacp#2384)
* Fixed /root/.gnupg permissions * added -p to mkdir /root/.gnupg/
1 parent 453a0a3 commit fad19a6

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

install/hst-install-ubuntu.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -662,6 +662,9 @@ fi
662662
# Define apt conf location
663663
apt=/etc/apt/sources.list.d
664664

665+
# Create new folder if not all-ready exists
666+
mkdir -p /root/.gnupg/ && chmod 700 /root/.gnupg/
667+
665668
# Updating system
666669
echo "Adding required repositories to proceed with installation:"
667670
echo

0 commit comments

Comments
 (0)