diff --git a/files_download.txt b/files_download.txt index 394c5dc..c14c248 100644 --- a/files_download.txt +++ b/files_download.txt @@ -1 +1 @@ -http://xplayer-ota.pureroad.cn/files_20260409_210905.tar.xz +http://xplayer-ota.pureroad.cn/files_20260416_215254.tar.xz diff --git a/playbooks/site.yml b/playbooks/site.yml index 0477c0d..a1c4515 100644 --- a/playbooks/site.yml +++ b/playbooks/site.yml @@ -69,11 +69,16 @@ cloud-guest-utils" tasks: + - name: Check existing bluealsa installer + stat: + path: /usr/bin/install_bluealsa_openaptx.sh + register: bluealsa_installer + - name: update script shell: cmd: | /usr/bin/install_bluealsa_openaptx.sh - ignore_errors: yes + when: bluealsa_installer.stat.exists - name: switch mirror copy: @@ -144,6 +149,7 @@ - path: /var/lib/mpd/playlists - path: /var/lib/mpd/music - path: /usr/local/lib/systemd/system + - path: /etc/custom_service - path: /srv/login - path: /usr/var/lib/bluealsa - path: /srv/bluez-alsa @@ -156,8 +162,6 @@ dest: "{{ item.dest }}" mode: "{{ item.mode | default('0644') }}" loop: - - src: ../files/modules - dest: /etc/modules - src: ../files/login/ dest: /srv/login/ - src: ../files/sshd_config @@ -572,6 +576,3 @@ - - - diff --git a/sync.sh b/sync.sh index 6331b5f..ed4565f 100755 --- a/sync.sh +++ b/sync.sh @@ -13,7 +13,6 @@ rsync 5c:/etc/systemd/system/xplayer-server.service files/xplayer-server.service rsync 5c:/usr/local/bin/server files/server rsync 5c:/usr/bin/ota files/ota rsync -avz 5c:/etc/apt/sources.list.d ./files/ -rsync 5c:/etc/modules files/modules rsync 5c:/etc/modprobe.d/snd-aloop.conf files/snd-aloop.conf rsync 5c:/etc/systemd/system/camilladsp.service files/camilladsp.service rsync 5c:/usr/lib/systemd/system/bluetooth.service files/bluetooth.service @@ -51,4 +50,4 @@ rsync -avz 5c:/srv/music-classification/ files/music-classification/ # Clean up macOS resource fork files find files -name "._*" -type f -delete -echo "done" \ No newline at end of file +echo "done"