| 1 | #!/bin/sh |
| 2 | |
| 3 | new=$1 |
| 4 | old=$2 |
| 5 | |
| 6 | # if current is not older than 0.0.11 we exit. |
| 7 | if ! [ "$(apk version -t $old 0.0.11)" = "<" ]; then |
| 8 | exit 0 |
| 9 | fi |
| 10 | |
| 11 | 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'" |
| 12 | |
| 13 | exit 0 |
| 14 |