Commit 7de669a8 authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm repack rustdesk: fix 1.1.8 repack

parent 7c95f575
...@@ -19,8 +19,8 @@ remove_dir /usr/share/rustdesk/files/systemd ...@@ -19,8 +19,8 @@ remove_dir /usr/share/rustdesk/files/systemd
pack_file /etc/systemd/system/$PRODUCT.service pack_file /etc/systemd/system/$PRODUCT.service
VERSION=$(grep "^Version:" $SPEC | sed -e "s|Version: ||") VERSION=$(grep "^Version:" $SPEC | sed -e "s|Version: ||")
if [ "$VERSION" = "1.1.9" ] ; then if [ "$VERSION" = "1.1.8" ] || [ "$VERSION" = "1.1.9" ] ; then
echo "Note: use 1.1.9 compatibility script" echo "Note: use 1.1.x compatibility script"
echo "Categories=GNOME;GTK;Network;RemoteAccess;" >> $BUILDROOT/usr/share/applications/$PRODUCT.desktop echo "Categories=GNOME;GTK;Network;RemoteAccess;" >> $BUILDROOT/usr/share/applications/$PRODUCT.desktop
# thread 'main' panicked at 'error: 'libsciter-gtk.so' was not found neither in PATH nor near the current executable. # thread 'main' panicked at 'error: 'libsciter-gtk.so' was not found neither in PATH nor near the current executable.
...@@ -42,8 +42,10 @@ else ...@@ -42,8 +42,10 @@ else
subst "s|^Categories.*|Categories=GNOME;GTK;Network;RemoteAccess;|" $BUILDROOT/usr/share/applications/$PRODUCT.desktop subst "s|^Categories.*|Categories=GNOME;GTK;Network;RemoteAccess;|" $BUILDROOT/usr/share/applications/$PRODUCT.desktop
subst "s|/usr/share/rustdesk/files/rustdesk.png|$PRODUCT|" $BUILDROOT/usr/share/applications/$PRODUCT.desktop subst "s|/usr/share/rustdesk/files/rustdesk.png|$PRODUCT|" $BUILDROOT/usr/share/applications/$PRODUCT.desktop
ICONFILE=$PRODUCT.png if [ -f $BUILDROOT/usr/share/rustdesk/files/rustdesk.png ] ; then
install_file /usr/share/rustdesk/files/rustdesk.png /usr/share/pixmaps/$ICONFILE ICONFILE=$PRODUCT.png
install_file /usr/share/rustdesk/files/rustdesk.png /usr/share/pixmaps/$ICONFILE
fi
#move_to_opt /usr/lib/rustdesk #move_to_opt /usr/lib/rustdesk
add_bin_link_command add_bin_link_command
......
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