diff options
author | mrxx | 2020-03-18 23:35:04 +0100 |
---|---|---|
committer | mrxx | 2020-03-18 23:35:04 +0100 |
commit | 113a9c65fc892f64243be49df0e118b329cf41b5 (patch) | |
tree | 3473b6782f7f720013aa925397ba73e7cef07675 | |
parent | b5b083f854eb0169f380cff286675b9dbafc28df (diff) | |
download | aur-113a9c65fc892f64243be49df0e118b329cf41b5.tar.gz |
Prevent the installer from creating files in the user's homedir
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 7 | ||||
-rw-r--r-- | biglybt.install | 6 |
3 files changed, 8 insertions, 7 deletions
@@ -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 @@ -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() { |