summarylogtreecommitdiffstats
path: root/ventoy.install
blob: c636636a212c0a225ba6c63c8e7185544ce026e0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
post_install() {
  printf "$(tput setaf 4)  ->$(tput sgr0; tput bold) %s$(tput sgr0)\n" \
    'NOTE: You can create persistence images for ventoy with the "ventoy-persistent" command,'
  printf "$(tput setaf 4)  ->$(tput sgr0; tput bold) %s$(tput sgr0)\n" \
    'which is a shortcut to "/opt/ventoy/CreatePersistentImg.sh"'
  printf "$(tput setaf 4)  ->$(tput sgr0; tput bold) %s$(tput sgr0)\n" \
    '(See https://www.ventoy.net/en/plugin_persistence.html for documentation.)'
}

post_upgrade() {
  if [ $(vercmp $2 1.0.39) -le 0 ]; then post_install; fi
}