summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authormrxx2020-03-13 16:23:40 +0100
committermrxx2020-03-13 16:23:40 +0100
commitb5b083f854eb0169f380cff286675b9dbafc28df (patch)
treef0365b0c252339091af846381bb2465030052fe6
parent8420c19dafb3589ef7521f05c862bc3d4ce8696a (diff)
downloadaur-b5b083f854eb0169f380cff286675b9dbafc28df.tar.gz
Ask user to remove stuff placed into their homedir by the program's installer
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD9
-rw-r--r--biglybt.install6
3 files changed, 7 insertions, 10 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 541c750eea80..f22a24e43dc6 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = biglybt
pkgdesc = Feature-filled Bittorrent client based on the Azureus project
pkgver = 2.3.0.0
- pkgrel = 1
+ pkgrel = 2
url = https://www.biglybt.com/
install = biglybt.install
arch = x86_64
diff --git a/PKGBUILD b/PKGBUILD
index cb97cc322e3d..04e497dc49ff 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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..."
diff --git a/biglybt.install b/biglybt.install
index f6f9782b7917..dc4a5a0cf5ab 100644
--- a/biglybt.install
+++ b/biglybt.install
@@ -15,7 +15,11 @@ yellow="${bold}$(tput setaf 3)"
post_install() {
note "It is recommended to disable the builtin automatic updater in:
Tools > Options > Interface > Start, and
- Tools > Options > Plugins > Plugin Update"
+ Tools > Options > Plugins > Plugin Update
+
+ In case the program doesn't start, please remove the following links (if they exist):
+ ~/.local/share/applications/biglybt.desktop and/or
+ ~/Desktop/biglybt.desktop"
}
post_upgrade() {