X-Git-Url: https://glassweightruler.freedombox.rocks/gitweb/Ventoy.git/blobdiff_plain/194e948cb6669bce910e303461e54bd72e09d441..102b179cd99ebffd9372ca52b18c1b2d8f4e2fb7:/Plugson/pack.sh diff --git a/Plugson/pack.sh b/Plugson/pack.sh index 340a79f..cc2eb58 100644 --- a/Plugson/pack.sh +++ b/Plugson/pack.sh @@ -22,6 +22,12 @@ if [ -f ./www.tar.xz ]; then rm -f ./www.tar.xz fi +VV=$(grep -m1 '\?v=' ./www/index.html | sed 's/.*v=\([0-9][0-9]*\).*/\1/g') +let VV++ +echo V=$VV +sed "s/\?v=[0-9][0-9]*/?v=$VV/g" -i ./www/index.html + + [ -f ./www/helplist ] && rm -f ./www/helplist ls -1 ../INSTALL/grub/help/ | while read line; do echo -n ${line:0:5} >> ./www/helplist