mirror of
https://github.com/gentoo-mirror/gentoo-zh.git
synced 2025-04-18 07:18:58 -04:00
18 lines
860 B
Plaintext
18 lines
860 B
Plaintext
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/
|
|
}
|