diff options
author | Vladimir Panteleev | 2024-02-26 21:39:41 +0000 |
---|---|---|
committer | Vladimir Panteleev | 2024-02-26 21:41:20 +0000 |
commit | f06f39c24fa3818fc7f08ae70f4b42457b51c175 (patch) | |
tree | b201c83ee1369a6f7b6d78ba0483ff81d73b0856 | |
parent | 1ab5327f58b7cc57a6d902dd40cdaec0338773a5 (diff) | |
download | aur-f06f39c24fa3818fc7f08ae70f4b42457b51c175.tar.gz |
PKGBUILD: Don't install the /etc/profile.d script by default
Package installation by itself having side-effects is an anti-pattern
in Arch. Avoid it here as well.
-rw-r--r-- | PKGBUILD | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -42,9 +42,9 @@ package() { fi # LD_PRELOAD profile.d script - mkdir -p "$pkgdir/etc/profile.d" - echo "export LD_PRELOAD=/usr/lib/hax11/\\\$LIB/hax11.so" > "$pkgdir/etc/profile.d/hax11.sh" - chmod 755 "$pkgdir/etc/profile.d/hax11.sh" + mkdir -p "$pkgdir/usr/share/doc/hax11/profile.d" + echo "export LD_PRELOAD=/usr/lib/hax11/\\\$LIB/hax11.so" > "$pkgdir/usr/share/doc/hax11/profile.d/hax11.sh" + chmod 755 "$pkgdir/usr/share/doc/hax11/profile.d/hax11.sh" # License mkdir -p "$pkgdir/usr/share/licenses/$pkgname" |