[aur-general] AUR airvpn-portable changes files in userfolders, DO NOT INSTALL
Bartłomiej Piotrowski
bpiotrowski at archlinux.org
Wed Mar 30 20:40:42 UTC 2016
On 2016-03-30 21:44, respiranto wrote:
> On 2016-03-30 20:17, Frederik “Freso” S. Olesen wrote:
>> Den 30-03-2016 kl. 20:07 skrev respiranto:
>>> The .install file does some things which could in theory delete user
>>> data (e.g. `ln -sf'). however it does so in a directory that belongs to
>>> the package, which is expected behaviour in .install files.
>>
>> If it's in $HOME it doesn't belong to the package.
>>
>
> I just created a test package.
>
> $ pacman -Qo $HOME/example
> /home/respiranto/example is owned by test 0.1-1
>
>
> reference PKGBUILD:
> -------------------
>
> pkgname=test
> pkgver=0.1
> pkgrel=1
> arch=('any')
>
> package() {
> mkdir -p "$pkgdir$HOME"
> echo "123" > "$pkgdir$HOME/example"
> }
>
You took it too literally. No package should modify files in $HOME, no
matter if it's written down guideline or not…
I just deleted both "portable" packages.
Bartłomiej
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <https://lists.archlinux.org/pipermail/aur-general/attachments/20160330/1eca633e/attachment.asc>
More information about the aur-general
mailing list