Commit c1e4a419 authored by Vitaly Lipatov's avatar Vitaly Lipatov

repack.d/Telegram.sh: fix icons download

parent 4b40a3a5
...@@ -37,7 +37,7 @@ iconname=$PRODUCT ...@@ -37,7 +37,7 @@ iconname=$PRODUCT
url=https://github.com/telegramdesktop/tdesktop url=https://github.com/telegramdesktop/tdesktop
for i in 16 32 48 64 128 256 512 ; do for i in 16 32 48 64 128 256 512 ; do
mkdir -p $BUILDROOT/usr/share/icons/hicolor/${i}x${i}/apps/ mkdir -p $BUILDROOT/usr/share/icons/hicolor/${i}x${i}/apps/
$EGET -O $BUILDROOT/usr/share/icons/hicolor/${i}x${i}/apps/$iconname.png $url/raw/master/Telegram/Resources/art/icon$i.png || continue epm tool eget -O $BUILDROOT/usr/share/icons/hicolor/${i}x${i}/apps/$iconname.png $url/raw/master/Telegram/Resources/art/icon$i.png || continue
pack_file /usr/share/icons/hicolor/${i}x${i}/apps/$iconname.png pack_file /usr/share/icons/hicolor/${i}x${i}/apps/$iconname.png
done done
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment