aboutsummaryrefslogtreecommitdiffstats
path: root/modules/blog/templates
diff options
context:
space:
mode:
authorThomas Backlund <tmb@mageia.org>2015-10-19 22:21:47 +0300
committerThomas Backlund <tmb@mageia.org>2015-10-19 22:21:47 +0300
commitfab910c7f712f878c10d121cef3e0452e2b51709 (patch)
tree280cfdd71e92cfe567d53457d507a2ebce1f6cf6 /modules/blog/templates
parentf295da3499b5d99c7fdb866f2cde9c595efb5b85 (diff)
downloadpuppet-fab910c7f712f878c10d121cef3e0452e2b51709.tar
puppet-fab910c7f712f878c10d121cef3e0452e2b51709.tar.gz
puppet-fab910c7f712f878c10d121cef3e0452e2b51709.tar.bz2
puppet-fab910c7f712f878c10d121cef3e0452e2b51709.tar.xz
puppet-fab910c7f712f878c10d121cef3e0452e2b51709.zip
lint fixes for blog
Diffstat (limited to 'modules/blog/templates')
-rw-r--r--modules/blog/templates/blogs_vhosts.conf2
-rwxr-xr-xmodules/blog/templates/check_new-blog-post.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/modules/blog/templates/blogs_vhosts.conf b/modules/blog/templates/blogs_vhosts.conf
index 48b6d9ad..ff3c792f 100644
--- a/modules/blog/templates/blogs_vhosts.conf
+++ b/modules/blog/templates/blogs_vhosts.conf
@@ -2,7 +2,7 @@
Order deny,allow
Allow from All
AllowOverride All
- Options FollowSymlinks
+ Options FollowSymlinks
Options +Indexes
</Directory>
# Add a permanent redirection for 'pt' as it was 'pt-br' before
diff --git a/modules/blog/templates/check_new-blog-post.sh b/modules/blog/templates/check_new-blog-post.sh
index 2123ed4a..f9f442cd 100755
--- a/modules/blog/templates/check_new-blog-post.sh
+++ b/modules/blog/templates/check_new-blog-post.sh
@@ -3,7 +3,7 @@
# Initialization
PATH_TO_FILE=${PATH_TO_FILE:-/var/lib/blog}
/usr/bin/wget -qO $PATH_TO_FILE"/last_tmp" http://blog.mageia.org/en/?feed=rss2
-if [ $? -ne 0 ]
+if [ $? -ne 0 ]
then
exit 2
fi