python/thonny: Replaced backtick cmdsub.

Signed-off-by: B. Watson <urchlay@slackware.uk>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
B. Watson 2024-07-15 04:36:10 -04:00 committed by Willy Sudiarto Raharjo
parent 94dcda97da
commit 8628b3ba39
No known key found for this signature in database
GPG key ID: 3F617144D7238786

View file

@ -78,8 +78,8 @@ python3 setup.py install --root=$PKG
mkdir -p $PKG/usr/share/applications
cp -a packaging/linux/org.thonny.Thonny.desktop $PKG/usr/share/applications/$PRGNAM.desktop
mkdir -p $PKG/usr/share/icons/hicolor/{16x16,22x22,32x32,48x48,64x64,128x128,192x192,256x256}/apps
for i in `ls packaging/icons/$PRGNAM-*x*.png`; do
IDIR=`echo $i|awk -F"-" '{print $2}'|awk -F"." '{print $1}'`
for i in $( ls packaging/icons/$PRGNAM-*x*.png ); do
IDIR=$( echo $i|awk -F"-" '{print $2}'|awk -F"." '{print $1}' )
cp -a $i $PKG/usr/share/icons/hicolor/$IDIR/apps/$PRGNAM.png
done
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION