30 Mar
2016
30 Mar
'16
7:44 p.m.
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" }