diff options
author | Oscar Morante | 2018-01-19 19:49:05 +0100 |
---|---|---|
committer | Oscar Morante | 2018-01-19 19:49:05 +0100 |
commit | f9331f77011583cb1f834d28879c868ebab8277d (patch) | |
tree | 4cdd87999538d11416b130f19606b188baa308ee /PKGBUILD | |
parent | 4be53c4cd4289bb3456dee9e3f43c6c51fbff434 (diff) | |
download | aur-f9331f77011583cb1f834d28879c868ebab8277d.tar.gz |
workaround bug in unity installer
There's a bug in the installer that tries to do GUI stuff when you use
the contracted version of the parameters. Now it should work on
chroots/headless systems.
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -23,12 +23,15 @@ options=(!strip) PKGEXT='.pkg.tar' # Prevent compressing of the final package unity-setup() { - ./UnitySetup-${_version}${_build} -d "${startdir}" -l "${pkgdir}${_prefix}" -u $@ + ./UnitySetup-${_version}${_build} \ + --download-location="${startdir}" \ + --install-location="${pkgdir}${_prefix}" \ + --unattended $@ } extract-component() { msg2 "Extracting $1..." - yes | unity-setup -c $1 > "/tmp/$1.log" + yes | unity-setup --components=$1 > "/tmp/$1.log" } prepare() { |