Skip to content

Commit e4f7b01

Browse files
authored
Add folks hook (#42)
1 parent 46ca89d commit e4f7b01

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

lib4bin

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -942,6 +942,14 @@ if [[ ! -d "$WRAPPE_DIR" || "$WITH_PYTHON" == 1 ]]
942942
try_mkdir "$dst_dir/etc/fonts"
943943
try_cp "$sys_fcfg" "$dst_fcfg"
944944
fi ;;
945+
*/libfolks*.so*)
946+
sys_folks_dir="$(dirname "$lib_src_pth")/folks"
947+
dst_folks_dir="$(dirname "$lib_dst_pth")/folks"
948+
if [[ -d "$sys_folks_dir" && ! -d "$dst_folks_dir" ]]
949+
then
950+
hook_msg "copy folks lib dir..."
951+
try_cp -T "$sys_folks_dir" "$dst_folks_dir"
952+
fi ;;
945953
*/libthai*.so*)
946954
sys_libthai_dir='/usr/share/libthai'
947955
dst_libthai_dir="$dst_dir/share/libthai"

0 commit comments

Comments
 (0)