diff options
author | kitsunyan | 2018-01-28 05:37:51 +0300 |
---|---|---|
committer | kitsunyan | 2018-01-28 05:37:51 +0300 |
commit | c634c923df14d496066982c0d3afd31b3974ae30 (patch) | |
tree | ba8297c8d220567a5a1ea0eba164ee75b9268cad /PKGBUILD | |
parent | 4acb377a2b10dfd887d868947e20cc6df9f44340 (diff) | |
download | aur-c634c923df14d496066982c0d3afd31b3974ae30.tar.gz |
Always redirect stdout and stderr to /dev/null
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -40,7 +40,7 @@ package() { mkdir -p "$pkgdir/usr/bin" printf '%s\n' \ '#!/bin/sh' \ - 'exec electron /usr/lib/draw.io "$@"' \ + 'exec electron /usr/lib/draw.io "$@" > /dev/null 2> /dev/null' \ > "$pkgdir/usr/bin/draw.io" chmod a+x "$pkgdir/usr/bin/draw.io" @@ -50,7 +50,7 @@ package() { '[Desktop Entry]' \ 'Name=draw.io' \ 'Comment=draw.io desktop' \ - 'Exec=/bin/bash -c '"'"'exec /usr/bin/draw.io "$@" > /dev/null 2> /dev/null'"'"' bash %U' \ + 'Exec=/usr/bin/draw.io %U' \ 'Terminal=false' \ 'Type=Application' \ 'Icon=draw.io' \ |