Commit 44c7467e authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm repack PacketTracker: fix if

parent e347fc25
......@@ -15,7 +15,7 @@ subst 's| > /dev/null 2>&1||' opt/pt/packettracer
add_libs_requires
if -d usr/share/applications ; then
if [ -d usr/share/applications ] ; then
fix_desktop_file
else
echo -e "[Desktop Entry]\nType=Application\nExec=/opt/pt/packettracer %f\nName=Packet Tracer\nIcon=/opt/pt/art/app.png\nTerminal=false\nStartupNotify=true\nMimeType=application/x-pkt;application/x-pka;application/x-pkz;application/x-pks;application/x-pksz;" \
......@@ -42,4 +42,3 @@ pack_file /opt/pt/bin/translations
#CONTENTS.cpio/ucpio://usr/share/icons/gnome/48x48/mimetypes
#/usr/share/icons/hicolor/48x48/mimetypes
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