archlive-zfs/airootfs/etc/pacman.d/hooks/50-xorg-xinit.hook

14 lines
286 B
Plaintext

# remove from airootfs!
[Trigger]
Operation = Install
Type = Package
Target = xorg-xinit
[Action]
Description = Add instructions for startx
When = PostTransaction
Depends = xorg-xinit
Depends = sed
Depends = sh
Exec = /bin/sh -c "echo -e \\nTo start GUI, type startx.\\n >> /etc/motd"