blob: 2e40f6bba97cff0ee635c61f6c5f20e09fe3fb70 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
## arg 1: the new package version
post_install() {
post_upgrade
}
## arg 1: the new package version
## arg 2: the old package version
post_upgrade() {
echo 'As of 090 bsnes requires a new directory layout for the ROMs. You can'
echo 'use bsnes-purify to create it. You should also copy the '
echo '/usr/share/bsnes/profile/ data into your ~/.config/bsnes/ folder unless'
echo 'you have already done so. It contains files that the emulator needs to'
echo 'function properly.'
if [ "$(vercmp $2 090)" -lt 0 ]; then
echo 'The profile data changed with release 090, update your files.'
fi
}
|