Skip to content

Commit 5324bf4

Browse files
committed
98-clean-chroot: install xinit files as executable
1 parent f53cf46 commit 5324bf4

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

config/scripts/GRMLBASE/98-clean-chroot

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,13 @@ fi
2020
echo "Installing files into /etc/skel"
2121
fcopy -M -i -B -v -r /etc/skel
2222

23+
# deliver files which need to be executable as such.
24+
for file in /etc/skel/.xinitrc /etc/skel/.xsession /etc/skel/.xinitrc.d ; do
25+
if [ -e "${target}/${file}" ] ; then
26+
$ROOTCMD chmod -R a+rx "${file}"
27+
fi
28+
done
29+
2330
echo "Creating ~/.zshrc"
2431
touch "$target"/root/.zshrc
2532

0 commit comments

Comments
 (0)