Commit 96922cb3 authored by Florent Revest's avatar Florent Revest

asteroid-launcher: create symlink only if it doesn't already exist

parent 5dc1eac2
......@@ -22,5 +22,7 @@ do_install_append() {
install -d ${D}/usr/lib/systemd/user/default.target.wants/
cp ../asteroid-launcher.service ${D}/usr/lib/systemd/user/
if [ ! -f ${D}/usr/lib/systemd/user/default.target.wants/asteroid-launcher.service ]; then
ln -s ../asteroid-launcher.service ${D}/usr/lib/systemd/user/default.target.wants/asteroid-launcher.service
fi
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment