debian/calamaris.postinst
raw| 1 | #! /bin/sh |
| 2 | set -e |
| 3 | |
| 4 | if [ ! "$2" = "" ]; then |
| 5 | if [ "$1" = "configure" ]; then |
| 6 | if `dpkg --compare-versions $2 lt 2.30`; then |
| 7 | for j in 0 1 2 3 4 5 6; do |
| 8 | if [ -e /var/log/calamaris/daily.$j ]; then |
| 9 | mv /var/log/calamaris/daily.$j /var/log/calamaris/forweekly.$j |
| 10 | fi |
| 11 | done |
| 12 | fi |
| 13 | fi |
| 14 | fi |
| 15 | |
| 16 | # Source debconf library. |
| 17 | . /usr/share/debconf/confmodule |
| 18 | |
| 19 | #DEBHELPER# |