For a maybe cleaner solution, it may use gsettings/qsettings for the detection of whether it has created the shortcut before.
-- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1243330 Title: Dangling directory and file in /etc/skel/ in chroot hook script To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntukylin/+bug/1243330/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs