]>
glassweightruler.freedombox.rocks Git - Ventoy.git/blob - INSTALL/Ventoy2Disk.sh
3 if ! [ -f .
/tool
/ventoy_lib.sh
]; then
4 if [ -f ${0%Ventoy2Disk.sh}/tool
/ventoy_lib.sh
]; then
9 if [ -f .
/ventoy
/version
]; then
10 curver
=$(cat ./ventoy/version)
14 echo '**********************************************'
15 echo " Ventoy: $curver"
16 echo " longpanda admin@ventoy.net"
17 echo " https://www.ventoy.net"
18 echo '**********************************************'
24 if ! [ -f .
/boot
/boot.img
]; then
25 if [ -d .
/grub
]; then
26 echo "Don't run Ventoy2Disk.sh here, please download the released install package, and run the script in it."
28 echo "Please run under the correct directory!"
33 echo "############# Ventoy2Disk $* ################" >> .
/log.txt
37 if [ -f .
/tool
/VentoyWorker.sh
]; then
38 echo "no need to decompress tools" >> .
/log.txt
42 if [ -f .
/xzcat
]; then
46 for file in $(ls *.xz); do
47 xzcat
$file > ${file%.xz}
53 if [ -f /bin
/bash
]; then
54 bash .
/tool
/VentoyWorker.sh $
*
56 .
/tool
/ash .
/tool
/VentoyWorker.sh $
*
59 if [ -n "$OLDDIR" ]; then