From 28eaa8e4cc67c3a2609b4f34dbfaf716193d6bc8 Mon Sep 17 00:00:00 2001 From: LinuxSquare Date: Sat, 26 Apr 2025 01:17:54 +0200 Subject: [PATCH] Fixes --- bin/sysupdate | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/sysupdate b/bin/sysupdate index 13d5d92..496e1d2 100755 --- a/bin/sysupdate +++ b/bin/sysupdate @@ -171,8 +171,8 @@ chroot "${MOUNTPOINT}" /bin/bash -c "git -C /srv/ansible/playbooks pull" || syst if $SYSUPGRADE; then subtaskTitle "Update release information" chroot "${MOUNTPOINT}" /bin/bash -c "grep -E '(main|community)' /etc/apk/repositories | sed \"s|$(yq .ungrouped.vars.alpine_version /srv/ansible/inventory.yml)|$NEW_ALPINE_RELEASE|\" > /etc/apk/repositories" - chroot "${MOUNTPOINT}" /bin/bash -c "yq -i '.ungrouped.vars.release_version = $NEW_NOVOS_RELEASE' /srv/ansible/inventory.yml" - chroot "${MOUNTPOINT}" /bin/bash -c "yq -i '.ungrouped.vars.alpine_version = \"$NEW_ALPINE_RELEASE\"' /srv/ansible/inventory.yml" + chroot "${MOUNTPOINT}" /bin/bash -c 'yq -i .ungrouped.vars.release_version = \"'$NEW_NOVOS_RELEASE'\" /srv/ansible/inventory.yml' + chroot "${MOUNTPOINT}" /bin/bash -c 'yq -i .ungrouped.vars.alpine_version=\"'$NEW_ALPINE_RELEASE'\" /srv/ansible/inventory.yml' fi subtaskTitle "Update bootloader configs"