We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b2d257d commit 6073de2Copy full SHA for 6073de2
install/upgrade/versions/1.3.3.sh
@@ -7,9 +7,12 @@
7
#######################################################################################
8
9
10
-echo '[ * ] Update permissions'
11
-chmod 750 "$HESTIA/data/keys"
12
-chown admin:root "$HESTIA/data/keys"
+# Check if keys folder exists and adjust permissions
+if [ -d "$HESTIA/data/keys" ]; then
+ echo '[ * ] Update permissions'
13
+ chmod 750 "$HESTIA/data/keys"
14
+ chown admin:root "$HESTIA/data/keys"
15
+fi
16
17
if [[ ! -e /etc/hestiacp/hestia.conf ]]; then
18
echo '[ * ] Create global Hestia config'
0 commit comments