thunar: fix wrapper build
This commit is contained in:
parent
a322b32e9d
commit
4d4d16a926
@ -14,7 +14,14 @@ symlinkJoin {
|
|||||||
wrapProgram "$out/bin/thunar-settings" \
|
wrapProgram "$out/bin/thunar-settings" \
|
||||||
--set "THUNARX_MODULE_DIR" "$out/lib/thunarx-3"
|
--set "THUNARX_MODULE_DIR" "$out/lib/thunarx-3"
|
||||||
|
|
||||||
for file in "lib/systemd/user/thunar.service" "share/dbus-1/services/org.xfce.FileManager.service" \
|
# NOTE: we need to remove the folder symlink itself and create
|
||||||
|
# a new folder before trying to substitute any file below.
|
||||||
|
rm -f "$out/lib/systemd/user"
|
||||||
|
mkdir -p "$out/lib/systemd/user"
|
||||||
|
|
||||||
|
# point to wrapped binary in all service files
|
||||||
|
for file in "lib/systemd/user/thunar.service" \
|
||||||
|
"share/dbus-1/services/org.xfce.FileManager.service" \
|
||||||
"share/dbus-1/services/org.xfce.Thunar.FileManager1.service" \
|
"share/dbus-1/services/org.xfce.Thunar.FileManager1.service" \
|
||||||
"share/dbus-1/services/org.xfce.Thunar.service"
|
"share/dbus-1/services/org.xfce.Thunar.service"
|
||||||
do
|
do
|
||||||
|
Loading…
x
Reference in New Issue
Block a user