Add missing snap script

This commit is contained in:
Eric Kotato 2020-05-01 18:05:17 +03:00
parent f0ebf2f255
commit e83a2c5ca2

View file

@ -0,0 +1,16 @@
#!/bin/sh
if [ ! -d $SNAP/kf5/usr ]; then
runtime="kde-frameworks-5-core18"
slot="kde-frameworks-5-core18:kde-frameworks-5-core18-slot"
echo "You need to connect this snap to the $runtime snap."
echo ""
echo "You can do this with those commands:"
echo "snap install $runtime"
echo "snap refresh $runtime"
echo "snap connect $SNAP_NAME:kde-frameworks-5-plug $slot"
exit 1
fi
exec kotatogram-desktop "$@"