summarylogtreecommitdiffstats
path: root/sdlmame-wout-toolkits.install
blob: 32cabe81a7787e78fd8d9b43170801fb65f27bbd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
all_off="$(tput sgr0)"
bold="${all_off}$(tput bold)"
yellow="${bold}$(tput setaf 3)"
blue="${bold}$(tput setaf 4)"
green="${bold}$(tput setaf 2)"

post_upgrade() {
  printf "${yellow}==>${all_off} ${bold}ATENTION:${all_off}
${green}==>${all_off} ${bold}MAME has been updated.${all_off}
  ${blue}->${all_off} If you are upgrading directly from ${bold}0.117${all_off} or ${bold}earlier${all_off},
     ${bold}you must delete all .cfg files${all_off} and ${bold}re-configure your controllers${all_off}.
     You should also run:

     '$ ${bold}mame --newini${all_off}'

     to force the script to create a new ini
     file with default settings at '${bold}~/.config/mame/mame.ini${all_off}'
     since there may be new ini options.\n"
}