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