Skip to content
Permalink
Browse files

Issue #449: Fix Jinja syntax error: no filter named 'prettify_dir_path'

Fixes: #449

Signed-off-by: Volker Theile <votdev@gmx.de>
  • Loading branch information...
votdev committed Sep 13, 2019
1 parent 2ab78f5 commit 92a0fd8baed11e616121493033a06f2573de655f
@@ -0,0 +1 @@
.idea/
@@ -1,3 +1,9 @@
openmediavault-usbbackup (5.0.1-1) stable; urgency=low

* Issue #449: Fix Jinja syntax error: no filter named 'prettify_dir_path'.

-- Volker Theile <volker.theile@openmediavault.org> Fri, 13 Sep 2019 16:54:27 +0200

openmediavault-usbbackup (5.0-1) stable; urgency=low

* Adapt to openmediavault 5 (Usul).
@@ -9,7 +9,7 @@ Homepage: http://www.openmediavault.org

Package: openmediavault-usbbackup
Architecture: all
Depends: rsync, openmediavault (>= 5.0)
Depends: rsync, openmediavault (>= 5.0.6)
Priority: optional
Description: OpenMediaVault USB/eSATA backup plugin
Automatically synchronise a shared folder to an USB/eSATA device and vice
@@ -6,9 +6,9 @@
{%- set mount_path = id | make_mount_path -%}
{%- if job.mode == 'push' -%}
{%- set srcuri = salt['omv_conf.get_sharedfolder_path'](job.sharedfolderref) -%}
{%- set desturi = (mount_path ~ salt['omv_conf.get_sharedfolder_name'](job.sharedfolderref) if job.usesubdir else '') | prettify_dir_path -%}
{%- set desturi = (mount_path ~ salt['omv_conf.get_sharedfolder_name'](job.sharedfolderref) if job.usesubdir else '') | path_prettify -%}
{%- elif job.mode == 'pull' -%}
{%- set srcuri = (mount_path ~ salt['omv_conf.get_sharedfolder_name'](job.sharedfolderref) if job.usesubdir else '') | prettify_dir_path -%}
{%- set srcuri = (mount_path ~ salt['omv_conf.get_sharedfolder_name'](job.sharedfolderref) if job.usesubdir else '') | path_prettify -%}
{%- set desturi = salt['omv_conf.get_sharedfolder_path'](job.sharedfolderref) -%}
{%- endif -%}
#!/bin/sh

0 comments on commit 92a0fd8

Please sign in to comment.
You can’t perform that action at this time.