Skip to content

Commit cb33c82

Browse files
committed
Fix syntax error in upgrade script
1 parent 8f64079 commit cb33c82

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

install/upgrade/versions/latest.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -152,12 +152,12 @@ if [ -e "/etc/mysql/my.cnf" ]; then
152152
fi
153153

154154
# Fix logrotate permission bug for nginx
155-
if [-e "/etc/logrotate/nginx" ]; then
155+
if [ -e "/etc/logrotate/nginx" ]; then
156156
sed -i "s/create 640 nginx adm/create 640/g" /etc/logrotate.d/nginx
157157
fi
158158

159159
# Fix logrotate permission bug for apache
160-
if [-e "/etc/logrotate/apache2" ]; then
160+
if [ -e "/etc/logrotate/apache2" ]; then
161161
sed -i "s/create 640 root adm/create 640/g" /etc/logrotate.d/apache2
162162
fi
163163

0 commit comments

Comments
 (0)