user-accounts: Force symlink creation

So that we can run Settings more than once in GNOME Builder.
Without the -f flag, ln errs out after these symlinks are
created, and Builder refuses to run after that.
This commit is contained in:
Georges Basile Stavracas Neto 2018-03-06 22:02:58 -03:00
parent e776111bc0
commit 23fadca422

View file

@ -78,9 +78,9 @@ install_data(
# create symlinks for legacy images to not break current images for people
meson.add_install_script('sh', '-c',
'for f in $DESTDIR@0@/*; do
ln -s legacy/$(basename $f) $DESTDIR@1@/$(basename $f);
done'.format(legacy_image_dir, image_dir))
'''for f in $DESTDIR@0@/*; do
ln -sf legacy/$(basename $f) $DESTDIR@1@/$(basename $f);
done'''.format(legacy_image_dir, image_dir))
polkit = 'org.gnome.controlcenter.@0@.policy'.format(cappletname)