aboutsummaryrefslogtreecommitdiffstats
path: root/modules/blog
diff options
context:
space:
mode:
authorNicolas Vigier <boklm@mageia.org>2011-05-15 17:57:16 +0000
committerNicolas Vigier <boklm@mageia.org>2011-05-15 17:57:16 +0000
commit11411d44258effae3a2750009ca6114d69292cd2 (patch)
treeed3891b360e23de7df7199bbb18923a5f8f57ba6 /modules/blog
parent783f47b5c62eb67fcb42b5b7e73920942c1f7f4f (diff)
downloadpuppet-11411d44258effae3a2750009ca6114d69292cd2.tar
puppet-11411d44258effae3a2750009ca6114d69292cd2.tar.gz
puppet-11411d44258effae3a2750009ca6114d69292cd2.tar.bz2
puppet-11411d44258effae3a2750009ca6114d69292cd2.tar.xz
puppet-11411d44258effae3a2750009ca6114d69292cd2.zip
use blog_location variable in backup blog script
Diffstat (limited to 'modules/blog')
-rwxr-xr-xmodules/blog/templates/backup_blog-files.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/blog/templates/backup_blog-files.sh b/modules/blog/templates/backup_blog-files.sh
index bf08580d..d8683587 100755
--- a/modules/blog/templates/backup_blog-files.sh
+++ b/modules/blog/templates/backup_blog-files.sh
@@ -11,7 +11,7 @@ do
then
/bin/mkdir $PATH_TO_FILE/$locale
fi
- tar Jcf $PATH_TO_FILE/$locale/$locale-$COUNT.tar.xz /var/www/html/blog.<%= domain %>/$locale
+ tar Jcf $PATH_TO_FILE/$locale/$locale-$COUNT.tar.xz <%= blog_location %>/$locale
done
# Check count file to have a week of backup in the directory
if [ $COUNT -ne 6 ]