Commit 6561b9fa authored by Jondy Zhao's avatar Jondy Zhao

post-install: fix sed command typos

parent 93378af7
...@@ -166,7 +166,7 @@ fi ...@@ -166,7 +166,7 @@ fi
# Set prefix for slapos # Set prefix for slapos
if [[ -n ${slapos_prefix} ]] ; then if [[ -n ${slapos_prefix} ]] ; then
echo "Set slapos prefix as ${slapos_prefix}" echo "Set slapos prefix as ${slapos_prefix}"
sed -i -e "s%slapos_prefix=.*\$%slapos_prefix=${slapos_prefix}" \ sed -i -e "s%slapos_prefix=.*\$%slapos_prefix=${slapos_prefix}%" \
/etc/slapos/scripts/pre-uninstall.sh /etc/slapos/scripts/slapos-include.sh /etc/slapos/scripts/pre-uninstall.sh /etc/slapos/scripts/slapos-include.sh
fi fi
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment