mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-12 02:14:37 +08:00
glib2 library is already marked as nodelete, no idea what can still cause the problem. Just use ld_preload to workaround it.
17 lines
356 B
Plaintext
17 lines
356 B
Plaintext
post_install() {
|
|
xdg-icon-resource forceupdate --theme hicolor &> /dev/null
|
|
LD_PRELOAD=/usr/lib/libgobject-2.0.so.0 usr/lib/vlc/vlc-cache-gen -f usr/lib/vlc/plugins
|
|
}
|
|
|
|
post_upgrade() {
|
|
post_install
|
|
}
|
|
|
|
pre_remove() {
|
|
rm -f usr/lib/vlc/plugins/plugins-*.dat
|
|
}
|
|
|
|
post_remove() {
|
|
xdg-icon-resource forceupdate --theme hicolor &> /dev/null
|
|
}
|