diff options
author | mrxx | 2018-12-08 17:55:18 +0100 |
---|---|---|
committer | mrxx | 2018-12-08 17:55:18 +0100 |
commit | 1c80d722b735c5bacdfa782085bada8d6d9db8c9 (patch) | |
tree | 3f47f6578d36d2e89511f57cb4f2f438174d3d6f /PKGBUILD | |
parent | e198024a80b6de9cb35afdedfe27d0ad313856e1 (diff) | |
download | aur-1c80d722b735c5bacdfa782085bada8d6d9db8c9.tar.gz |
Fix wrong local .desktop file created by the Java installer on the users desktop
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -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 |