Commit 55277ad6 authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm play lunacy: use snap if glibc is too old

parent 42f5cb90
......@@ -25,10 +25,10 @@ case "$arch" in
esac
if ! is_glibc_enough 2.34 ; then
fatal "glibc is too old"
#fatal "glibc is too old"
PKGURL="$(snap_get_pkgurl $URL)"
else
PKGURL="https://lcdn.icons8.com/setup/$file"
fi
# https://icons8.ru/lunacy
PKGURL="https://lcdn.icons8.com/setup/$file"
install_pkgurl
......@@ -8,14 +8,16 @@ PRODUCT=lunacy
PRODUCTCUR=Lunacy
PRODUCTDIR=/opt/icons8/lunacy
[ -d ".$PRODUCTDIR" ] || PRODUCTDIR=/opt/lunacy
. $(dirname $0)/common.sh
add_bin_link_command $PRODUCTCUR
add_bin_link_command $PRODUCT $PRODUCTCUR
fix_desktop_file /opt/icons8/lunacy/Lunacy $PRODUCT
fix_desktop_file /opt/icons8/lunacy/Assets/LunacyLogo.png $PRODUCT
install_file /opt/icons8/lunacy/Assets/LunacyLogo.png /usr/share/pixmaps/$PRODUCT.png
fix_desktop_file $PRODUCTCUR/Lunacy $PRODUCT
fix_desktop_file $PRODUCTCUR/Assets/LunacyLogo.png $PRODUCT
install_file $PRODUCTCUR/Assets/LunacyLogo.png /usr/share/pixmaps/$PRODUCT.png
add_libs_requires
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