From 04b97fc6acc0817e77d442e097cd5bed61a6c5c5 Mon Sep 17 00:00:00 2001 From: EnumDev Date: Mon, 14 Apr 2025 20:25:30 +0300 Subject: [PATCH] Add post-upgrade script --- pkg.info | 2 +- post_upgrade.sh | 10 ++++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 post_upgrade.sh diff --git a/pkg.info b/pkg.info index 72325e2..ee34053 100644 --- a/pkg.info +++ b/pkg.info @@ -1,7 +1,7 @@ name: glibc description: The GNU C Library version: 2.41 -revision: 3 +revision: 4 url: https://www.gnu.org/software/libc/ license: GPL2-or-later,LGPL2.1-or-later,BSD-3-Clause architecture: any diff --git a/post_upgrade.sh b/post_upgrade.sh new file mode 100644 index 0000000..1850f4e --- /dev/null +++ b/post_upgrade.sh @@ -0,0 +1,10 @@ +#!/bin/sh + +# Regenerate locales +locale-gen + +# Rebuild dynamic loader cache +ldconfig -r "$BPM_ROOT" + +# Update iconv module configuration cache +iconvconfig