summaryrefslogtreecommitdiff
path: root/community/rawtherapee/rawtherapee.install
blob: ccf3323ae4cb17a53ebaa90fd44a1ffc28b59f89 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
post_upgrade() {

if [ ${2%%_*} == "3.0a1" ]; then
  TMP=${2##*_}
  TMP=${TMP%%-*}

  if [ $TMP -lt 316 ]; then
    echo "Profile extension has changed from .pp2 to .pp3"
    echo -e "since rawtherapee-3.0a1_54-1\n"
    echo "If you used rawtherapee-3.0a1_54-1 or any earlier 3.0 version"
    echo "you have to change the extension manually.\n"
    echo "NOTE: pp2 profiles from rawtherapee 2.4 and older"
    echo "are not compatible."
  fi

  if [ $TMP -lt 589 ]; then
    echo "There were lots of changes to the behavior of the majority of tools."
    echo "This may cause your files to look differently than before."
  fi
fi

}

# vim:set ts=2 sw=2 et: