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