Files
wunker-os/etc/profile.d/ublue-firstboot.sh
Eino Rauhala 085d26aa1a fix: prevent /etc/ merge issues (#43)
* fix: prevent /etc/ merge issues
discussed at length in #28
also including tons of comments about the issue

* fix: change references of /etc/ to /usr/etc
2023-04-26 15:23:43 +00:00

6 lines
275 B
Bash

if test "$(id -u)" -gt "0" && test -d "$HOME"; then
if test ! -e "$HOME"/.config/autostart/ublue-firstboot.desktop; then
mkdir -p "$HOME"/.config/autostart
cp -f /usr/etc/skel.d/.config/autostart/ublue-firstboot.desktop "$HOME"/.config/autostart
fi
fi