diff options
author | mrxx | 2020-03-13 16:23:40 +0100 |
---|---|---|
committer | mrxx | 2020-03-13 16:23:40 +0100 |
commit | b5b083f854eb0169f380cff286675b9dbafc28df (patch) | |
tree | f0365b0c252339091af846381bb2465030052fe6 /PKGBUILD | |
parent | 8420c19dafb3589ef7521f05c862bc3d4ce8696a (diff) | |
download | aur-b5b083f854eb0169f380cff286675b9dbafc28df.tar.gz |
Ask user to remove stuff placed into their homedir by the program's installer
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 9 |
1 files changed, 1 insertions, 8 deletions
@@ -3,7 +3,7 @@ pkgname=biglybt pkgver=2.3.0.0 -pkgrel=1 +pkgrel=2 pkgdesc="Feature-filled Bittorrent client based on the Azureus project" arch=('x86_64' 'armv7h') url="https://www.biglybt.com/" @@ -29,13 +29,6 @@ package() { export app_java_home="/usr/lib/jvm/default" sh GitHub_BiglyBT_Installer_$pkgver.sh -q -dir "$srcdir"/$pkgname - # 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 {} + - _user_desktop=$(xdg-user-dir DESKTOP) - [ "$_user_desktop" ] && find "$_user_desktop" -name $pkgname.desktop -cmin -1 -exec rm -f {} + - cd "$srcdir"/$pkgname msg2 "Creating directory structure..." |