We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 23c904a commit b205116Copy full SHA for b205116
1 file changed
install/upgrade/versions/1.4.4.sh
@@ -7,8 +7,10 @@
7
#######################################################################################
8
9
10
-#Add nginx user_agent separation to desktop/mobile
11
-cp -f $HESTIA_INSTALL_DIR/nginx/agents.conf /etc/nginx/conf.d/
+if [ -d "/etc/nginx/conf.d/" ]; then
+ #Add nginx user_agent separation to desktop/mobile
12
+ cp -f $HESTIA_INSTALL_DIR/nginx/agents.conf /etc/nginx/conf.d/
13
+fi
14
15
# Reset PMA SSO to fix bug with Nginx + Apache2
16
if [ "$PHPMYADMIN_KEY" != "" ]; then
0 commit comments