Fix the drive letter case check issue for VentoyPlugson in Windows. (#2078)

This commit is contained in:
longpanda
2022-12-20 18:46:04 +08:00
parent cd0c7ca884
commit bf797ceadb
6 changed files with 21 additions and 8 deletions

View File

@@ -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