Skip to content

Commit 2b6d212

Browse files
committed
Add force-confold to dpkg
1 parent d85621d commit 2b6d212

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

Trixie/config/hooks/live/9002-perms.hook.chroot renamed to Trixie/config/hooks/live/9006-perms.hook.chroot

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,14 @@ if [ -d /etc/calamares ]; then
3434
chmod -R 755 /etc/calamares
3535
fi
3636

37+
# --- /etc/dpkg ---
38+
if [ -d /etc/dpkg ]; then
39+
chown -R root:root /etc/dpkg
40+
chmod -R 755 /etc/dpkg
41+
fi
42+
3743
# --- /etc/trios ---
38-
if [ -d /etc/calamares ]; then
44+
if [ -d /etc/trios ]; then
3945
chown -R root:root /etc/trios
4046
chmod -R 755 /etc/trios
4147
fi
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# When presented with conflicting configurations, always select the one already on the system.
2+
force-confold

0 commit comments

Comments
 (0)