summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authormrxx2020-03-18 23:35:04 +0100
committermrxx2020-03-18 23:35:04 +0100
commit113a9c65fc892f64243be49df0e118b329cf41b5 (patch)
tree3473b6782f7f720013aa925397ba73e7cef07675
parentb5b083f854eb0169f380cff286675b9dbafc28df (diff)
downloadaur-113a9c65fc892f64243be49df0e118b329cf41b5.tar.gz
Prevent the installer from creating files in the user's homedir
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD7
-rw-r--r--biglybt.install6
3 files changed, 8 insertions, 7 deletions
diff --git a/.SRCINFO b/.SRCINFO
index f22a24e43dc6..a1a4abec3b90 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 = 2
+ pkgrel = 3
url = https://www.biglybt.com/
install = biglybt.install
arch = x86_64
diff --git a/PKGBUILD b/PKGBUILD
index 04e497dc49ff..cb198deca264 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
pkgname=biglybt
pkgver=2.3.0.0
-pkgrel=2
+pkgrel=3
pkgdesc="Feature-filled Bittorrent client based on the Azureus project"
arch=('x86_64' 'armv7h')
url="https://www.biglybt.com/"
@@ -27,6 +27,11 @@ package() {
msg2 "Extracting GitHub_BiglyBT_Installer_$pkgver.sh..."
export app_java_home="/usr/lib/jvm/default"
+
+ # Prevent the installer from creating files in the user's homedir
+ export HOME=$srcdir/home
+ mkdir -p $srcdir/home/{Desktop,.local/share/applications}
+
sh GitHub_BiglyBT_Installer_$pkgver.sh -q -dir "$srcdir"/$pkgname
cd "$srcdir"/$pkgname
diff --git a/biglybt.install b/biglybt.install
index dc4a5a0cf5ab..f6f9782b7917 100644
--- a/biglybt.install
+++ b/biglybt.install
@@ -15,11 +15,7 @@ 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
-
- 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"
+ Tools > Options > Plugins > Plugin Update"
}
post_upgrade() {