[aur-general] AUR airvpn-portable changes files in userfolders, DO NOT INSTALL

respiranto respiranto at icloud.com
Wed Mar 30 19:44:27 UTC 2016


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"
}


More information about the aur-general mailing list