mirror of
https://github.com/ventoy/Ventoy.git
synced 2025-08-28 00:11:15 +00:00
Add QT GUI install program
This commit is contained in:
25
LinuxGUI/EXLIB/prepare_lib_i386.sh
Normal file
25
LinuxGUI/EXLIB/prepare_lib_i386.sh
Normal file
@@ -0,0 +1,25 @@
|
||||
#!/bin/bash
|
||||
|
||||
if [ ! -d $1/pool ]; then
|
||||
echo "$1/pool not exist"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
rm -rf i386
|
||||
mkdir i386
|
||||
cd i386
|
||||
|
||||
cat ../i386libs | while read line; do
|
||||
find "$1/pool" -name "*${line}*.deb" | while read deb; do
|
||||
echo "extract ${deb##*/} ..."
|
||||
dpkg -x $deb .
|
||||
done
|
||||
done
|
||||
|
||||
ls -1 ../download/*i386.deb | while read line; do
|
||||
echo "extract ${line} ..."
|
||||
dpkg -x "$line" .
|
||||
done
|
||||
|
||||
cd ..
|
||||
|
Reference in New Issue
Block a user