diff options
author | Nicolas Vigier <boklm@mageia.org> | 2011-05-15 17:57:16 +0000 |
---|---|---|
committer | Nicolas Vigier <boklm@mageia.org> | 2011-05-15 17:57:16 +0000 |
commit | 11411d44258effae3a2750009ca6114d69292cd2 (patch) | |
tree | ed3891b360e23de7df7199bbb18923a5f8f57ba6 /modules/blog | |
parent | 783f47b5c62eb67fcb42b5b7e73920942c1f7f4f (diff) | |
download | puppet-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-x | modules/blog/templates/backup_blog-files.sh | 2 |
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 ] |