From 0038c58e264285009c7e1d3b0f8e396713882f5c Mon Sep 17 00:00:00 2001 From: Ted Trask Date: Tue, 17 May 2011 15:05:25 +0000 Subject: main/acf-freeswitch-vmail: upgrade to 0.0.11 --- .../acf-freeswitch-vmail/acf-freeswitch-vmail.post-upgrade | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 main/acf-freeswitch-vmail/acf-freeswitch-vmail.post-upgrade (limited to 'main/acf-freeswitch-vmail/acf-freeswitch-vmail.post-upgrade') diff --git a/main/acf-freeswitch-vmail/acf-freeswitch-vmail.post-upgrade b/main/acf-freeswitch-vmail/acf-freeswitch-vmail.post-upgrade new file mode 100644 index 0000000000..3b0ff119c8 --- /dev/null +++ b/main/acf-freeswitch-vmail/acf-freeswitch-vmail.post-upgrade @@ -0,0 +1,14 @@ +#!/bin/sh + +new=$1 +old=$2 + +# if current is not older than 0.0.11 we exit. +if ! [ "$(apk version -t $old 0.0.11)" = "<" ]; then + exit 0 +fi + +sqlite3 /var/lib/freeswitch/db/voicemail_default.db "UPDATE voicemail_params SET descr='Passwords must be all numbers and at least three digits' WHERE name='vm-password'" + +exit 0 + -- cgit v1.2.3