change sed delimiters in soup

This commit is contained in:
m0duspwnens
2020-07-28 08:13:03 -04:00
parent 254dcdb2f0
commit fb453a0d9c

View File

@@ -147,7 +147,7 @@ update_version() {
# Update the version to the latest # Update the version to the latest
echo "Updating the version file." echo "Updating the version file."
echo $NEWVERSION > /etc/soversion echo $NEWVERSION > /etc/soversion
sed -i "s/$INSTALLEDVERSION/$NEWVERSION/g" /opt/so/saltstack/local/pillar/static.sls sed -i "s|$INSTALLEDVERSION|$NEWVERSION|g" /opt/so/saltstack/local/pillar/static.sls
} }
upgrade_check() { upgrade_check() {