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 /PKGBUILD | |
parent | b5b083f854eb0169f380cff286675b9dbafc28df (diff) | |
download | aur-113a9c65fc892f64243be49df0e118b329cf41b5.tar.gz |
Prevent the installer from creating files in the user's homedir
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -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 |