summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authormrxx2018-12-08 17:55:18 +0100
committermrxx2018-12-08 17:55:18 +0100
commit1c80d722b735c5bacdfa782085bada8d6d9db8c9 (patch)
tree3f47f6578d36d2e89511f57cb4f2f438174d3d6f /PKGBUILD
parente198024a80b6de9cb35afdedfe27d0ad313856e1 (diff)
downloadaur-1c80d722b735c5bacdfa782085bada8d6d9db8c9.tar.gz
Fix wrong local .desktop file created by the Java installer on the users desktop
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD7
1 files changed, 4 insertions, 3 deletions
diff --git a/PKGBUILD b/PKGBUILD
index e192f2a1970e..8b0633455c50 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
pkgname=biglybt
pkgver=1.7.0.0
-pkgrel=2
+pkgrel=3
pkgdesc="Feature-filled Bittorrent client based on the Azureus project"
arch=('x86_64')
url="https://www.biglybt.com/"
@@ -28,10 +28,11 @@ package() {
export app_java_home="/usr/lib/jvm/default"
sh GitHub_BiglyBT_Installer_$pkgver.sh -q -dir "$srcdir"/$pkgname
- # Remove local .desktop file only if it was just created by the Java installer
- # (which creates it a) in the wrong place and b) with wrong paths, therefore
+ # Remove local .desktop files (only if they were just created by the Java installer
+ # which creates them a) in the wrong place and b) with wrong paths, therefore
# preventing the start of the program via the launcher)
find ~/.local/share/applications -name $pkgname.desktop -cmin -1 -exec rm {} +
+ find ~/Desktop -name $pkgname.desktop -cmin -1 -exec rm -f {} +
cd "$srcdir"/$pkgname