From 59fa66a3b191847ed392973c6dc83714ea3dfc0e Mon Sep 17 00:00:00 2001 From: Hyperling Date: Fri, 14 Aug 2026 10:45:02 -0700 Subject: [PATCH] xdg, use an echo command rather than returns, otherwise the task complains. --- tasks/workstation/shared/settings/xdg_autostart.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tasks/workstation/shared/settings/xdg_autostart.yml b/tasks/workstation/shared/settings/xdg_autostart.yml index b1ce3d3..a550023 100644 --- a/tasks/workstation/shared/settings/xdg_autostart.yml +++ b/tasks/workstation/shared/settings/xdg_autostart.yml @@ -3,12 +3,12 @@ # XDG desktop files are competing with runit and i3 config. # Disable them on each run since updaters will put them back in place. # Adding Hide=true supposedly works too but on Devuan the .desktop files -# are showing up as data fules, not plaintext, so just nuking for now. +# are showing up as data files, not plaintext, so just nuking for now. - name: Workstation | Shared | Settings | XDG Autostart | runit | Disable All shell: "{{ item }}" loop: - mkdir -pv /etc/xdg/autostart/disabled /home/{{ user }}/.config/autostart/disabled - - mv /etc/xdg/autostart/*.desktop /etc/xdg/autostart/disabled/ || return 0 - - mv /home/{{ user }}/.config/autostart/*.desktop /home/{{ user }}/.config/autostart/disabled/ || return 0 + - mv /etc/xdg/autostart/*.desktop /etc/xdg/autostart/disabled/ || echo 'No files to move.' + - mv /home/{{ user }}/.config/autostart/*.desktop /home/{{ user }}/.config/autostart/disabled/ || echo 'No files to move.' when: ansible_service_mgr == "runit"