Skip to content

Commit a7462f5

Browse files
committed
init: fix missing hooks in pacman, Fix #1595 #1602 #1610 #1619
Signed-off-by: Luca Di Maio <[email protected]>
1 parent 18053c2 commit a7462f5

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

distrobox-init

+3-1
Original file line numberDiff line numberDiff line change
@@ -513,6 +513,8 @@ setup_deb_exceptions()
513513
# None
514514
setup_pacman_exceptions()
515515
{
516+
setup_pkg_manager_hooks
517+
516518
# Workarounds for pacman. We need to exclude the paths by using a pre-hook to umount them and a
517519
# post-hook to remount them. Additionally we neutralize the systemd-post-hooks as they do not
518520
# work on a rootless container system.
@@ -1238,7 +1240,7 @@ setup_pacman()
12381240
pacman -S --needed --noconfirm $(pacman -Ssq | grep -E "^($(echo ${deps} | tr ' ' '|'))$")
12391241

12401242
if [ ! -e "/usr/share/i18n/locales${HOST_LOCALE}" ]; then
1241-
pacman -S --noconfirm glibc
1243+
pacman -S --noconfirm glibc glibc-locales
12421244
fi
12431245

12441246
# Setup hooks

0 commit comments

Comments
 (0)