Skip to content

Commit

Permalink
chore(fix-key-and-update): Remove invalid ".bak" passed to sed
Browse files Browse the repository at this point in the history
Doesn't actually appear to error out when running but the syntax is wrong
  • Loading branch information
EyeCantCU authored Jul 3, 2024
1 parent 5c4144d commit 8f243f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/fix-key-and-update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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..."
Expand Down

0 comments on commit 8f243f0

Please sign in to comment.