based on what's done in bluefin & https://github.com/ublue-os/yafti#running-from-a-containerfile
6 lines
271 B
Bash
6 lines
271 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 /etc/skel.d/.config/autostart/ublue-firstboot.desktop "$HOME"/.config/autostart
|
|
fi
|
|
fi |