pkgs/fakeroot/fakeroot.install

9 lines
178 B
Bash

#!/bin/sh
post_install() {
echo '/usr/lib/libfakeroot' >>/etc/ld-musl-$(uname -m).path
}
pre_remove() {
sed -i '/^\/usr\/lib\/libfakeroot$/d' /etc/ld-musl-$(uname -m).path
}