We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8f64079 commit cb33c82Copy full SHA for cb33c82
1 file changed
install/upgrade/versions/latest.sh
@@ -152,12 +152,12 @@ if [ -e "/etc/mysql/my.cnf" ]; then
152
fi
153
154
# Fix logrotate permission bug for nginx
155
-if [-e "/etc/logrotate/nginx" ]; then
+if [ -e "/etc/logrotate/nginx" ]; then
156
sed -i "s/create 640 nginx adm/create 640/g" /etc/logrotate.d/nginx
157
158
159
# Fix logrotate permission bug for apache
160
-if [-e "/etc/logrotate/apache2" ]; then
+if [ -e "/etc/logrotate/apache2" ]; then
161
sed -i "s/create 640 root adm/create 640/g" /etc/logrotate.d/apache2
162
163
0 commit comments