diff options
author | Ted Trask <ttrask01@yahoo.com> | 2011-05-17 15:05:25 +0000 |
---|---|---|
committer | Ted Trask <ttrask01@yahoo.com> | 2011-05-17 15:05:25 +0000 |
commit | 0038c58e264285009c7e1d3b0f8e396713882f5c (patch) | |
tree | fe213ec92f7be2feb5feb1fbf9989b6acf1bb208 /main/acf-freeswitch-vmail/acf-freeswitch-vmail.post-upgrade | |
parent | b0a284c54a352bc7dd8e2b682b4f24ac5a4efee4 (diff) | |
download | aports-0038c58e264285009c7e1d3b0f8e396713882f5c.tar.bz2 aports-0038c58e264285009c7e1d3b0f8e396713882f5c.tar.xz |
main/acf-freeswitch-vmail: upgrade to 0.0.11
Diffstat (limited to 'main/acf-freeswitch-vmail/acf-freeswitch-vmail.post-upgrade')
-rw-r--r-- | main/acf-freeswitch-vmail/acf-freeswitch-vmail.post-upgrade | 14 |
1 files changed, 14 insertions, 0 deletions
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 + |