mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
16 lines
294 B
Text
Executable file
16 lines
294 B
Text
Executable file
post_install() {
|
|
echo "/usr/lib/libarmmem.so" >> /etc/ld.so.preload
|
|
}
|
|
|
|
post_upgrade() {
|
|
touch /etc/ld.so.preload
|
|
grep -q "/usr/lib/libarmmem.so" /etc/ld.so.preload
|
|
if [[ $? -ne 0 ]]; then
|
|
post_install
|
|
fi
|
|
}
|
|
|
|
pre_remove() {
|
|
sed '|/usr/lib/libarmmem.so|d' -i /etc/ld.so.preload
|
|
}
|
|
|