summarylogtreecommitdiffstats
path: root/ventoy.install
blob: 7ff7012f41a9380e252b46faadae1413a139a6be (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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" \
    '      and losslessly expand persistence ".dat" files using "ventoy-extend-persistent",'
  printf "$(tput setaf 4)  ->$(tput sgr0; tput bold) %s$(tput sgr0)\n" \
    '      which are shortcuts to "/opt/ventoy/CreatePersistentImg.sh" and'
  printf "$(tput setaf 4)  ->$(tput sgr0; tput bold) %s$(tput sgr0)\n" \
    '      "/opt/ventoy/ExtendPersistentImg.sh", respectively.'
  printf "$(tput setaf 4)  ->$(tput sgr0; tput bold) %s$(tput sgr0)\n" \
    '      (See https://www.ventoy.net/en/plugin_persistence.html for documentation.)'
}

post_remove() {
  # Remove log file
  rm -rf /opt/ventoy/
}