Debian Codegraph @

build/msys2/fetch_licenses.sh

raw
1 #!/bin/sh
2 for file in $( ldd crystal-facet-uml.exe | grep -e ' /ucrt64' | sed -e 's/^[^/]*\(\S*\).*$/\1/' )
3 do
4 echo $file
5 pkg=$( pacman -Qo $file | sed -e 's/^\S* \S* \S* \S* \(\S*\).*$/\1/' 2>&1 )
6 echo $pkg
7 pacman -Qi $pkg
8 echo --
9 done
10
11 file2=/ucrt64/bin/gdbus.exe
12 echo $file2
13 pkg2=$( pacman -Qo $file2 | sed -e 's/^\S* \S* \S* \S* \(\S*\).*$/\1/' 2>&1 )
14 echo $pkg2
15 pacman -Qi $pkg2
16 echo --
17
18 file3=/ucrt64/share/glib-2.0/schemas/org.gtk.gtk4.Settings.FileChooser.gschema.xml
19 echo $file3
20 pkg3=$( pacman -Qo $file3 | sed -e 's/^\S* \S* \S* \S* \(\S*\).*$/\1/' 2>&1 )
21 echo $pkg3
22 pacman -Qi $pkg3
23 echo --