diff --git a/scripts/fix-key-and-update.sh b/scripts/fix-key-and-update.sh index 267e1d94..f70d5288 100755 --- a/scripts/fix-key-and-update.sh +++ b/scripts/fix-key-and-update.sh @@ -19,7 +19,7 @@ curl https://raw.githubusercontent.com/ublue-os/main/main/cosign.pub > /etc/pki/ # Ensure the path to the public key matches the local copy location. echo "Updating the path to the public key in the container policy..." -sed -i.bak "s#/usr/etc/pki/containers/ublue-os.pub#/etc/pki/containers/ublue-os.pub#" /etc/containers/policy.json +sed -i "s#/usr/etc/pki/containers/ublue-os.pub#/etc/pki/containers/ublue-os.pub#" /etc/containers/policy.json # Update system, respecting new public signing key. echo "Updating the system..."