]> glassweightruler.freedombox.rocks Git - Ventoy.git/blob - LinuxGUI/EXLIB/prepare_lib_mips64el.sh
Add Linux native GUI program for Ventoy2Disk.
[Ventoy.git] / LinuxGUI / EXLIB / prepare_lib_mips64el.sh
1 #!/bin/bash
2
3 if [ ! -d $1/pool ]; then
4 echo "$1/pool not exist"
5 exit 1
6 fi
7
8 rm -rf mips64el
9 mkdir mips64el
10 cd mips64el
11
12 cat ../mips64ellibs | while read line; do
13 find "$1/pool" -name "*${line}*.deb" | while read deb; do
14 echo "extract ${deb##*/} ..."
15 dpkg -x $deb .
16 done
17 done
18
19 dpkg -x ../libgtk-3-dev_3.22.11-1_mips64el.deb .
20
21 cd ..
22
23
24