Dominique Leuenberger
8e3af725bc
- Add gcc-user-accounts-Force-symlink-creation.patch: 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 (glgo#GNOME/gnome-control-center#107). OBS-URL: https://build.opensuse.org/request/show/624870 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gnome-control-center?expand=0&rev=394
35 lines
1.4 KiB
Diff
35 lines
1.4 KiB
Diff
From 4f3035effef08e72cffea75ec8b3dd5b8051d0c7 Mon Sep 17 00:00:00 2001
|
|
From: Georges Basile Stavracas Neto <georges.stavracas@gmail.com>
|
|
Date: Tue, 6 Mar 2018 22:02:58 -0300
|
|
Subject: [PATCH] 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.
|
|
|
|
Closes: https://gitlab.gnome.org/GNOME/gnome-control-center/issues/107
|
|
---
|
|
panels/user-accounts/meson.build | 6 +++---
|
|
1 file changed, 3 insertions(+), 3 deletions(-)
|
|
|
|
diff --git a/panels/user-accounts/meson.build b/panels/user-accounts/meson.build
|
|
index 65341410d..0b0a4fecf 100644
|
|
--- a/panels/user-accounts/meson.build
|
|
+++ b/panels/user-accounts/meson.build
|
|
@@ -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)
|
|
|
|
--
|
|
2.17.1
|
|
|