[arch-commits] Commit in discord/trunk (PKGBUILD)

Filipe Laíns ffy00 at archlinux.org
Sun Mar 1 19:15:59 UTC 2020


    Date: Sunday, March 1, 2020 @ 19:15:58
  Author: ffy00
Revision: 588009

set setuid on chrome-sandox 0.0.10-2

Fixes FS#65655

Modified:
  discord/trunk/PKGBUILD

----------+
 PKGBUILD |    5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-03-01 19:15:56 UTC (rev 588008)
+++ PKGBUILD	2020-03-01 19:15:58 UTC (rev 588009)
@@ -3,7 +3,7 @@
 pkgname=discord
 _pkgname=Discord
 pkgver=0.0.10
-pkgrel=1
+pkgrel=2
 pkgdesc="All-in-one voice and text chat for gamers that's free and secure."
 arch=('x86_64')
 url='https://discordapp.com'
@@ -40,6 +40,9 @@
   ln -s /opt/$pkgname/discord.png "$pkgdir"/usr/share/pixmaps/$pkgname.png
   ln -s /opt/$pkgname/$pkgname.desktop "$pkgdir"/usr/share/applications/$pkgname.desktop
 
+  # setuid on chrome-sandbox
+  chmod u+s "$pkgdir"/opt/$pkgname/chrome-sandbox
+
   # Replacement symlinks
   ln -sf /usr/lib/opera/lib_extra/libffmpeg.so "$pkgdir"/opt/$pkgname/libffmpeg.so
   ln -sf /usr/lib/libEGL.so "$pkgdir"/opt/$pkgname/libEGL.so



More information about the arch-commits mailing list