mirror of
https://github.com/plantroon/acme.sh.git
synced 2024-11-10 00:11:45 +00:00
fix bug, uninstall env
This commit is contained in:
parent
2d39b3df88
commit
db0534ed97
2
acme.sh
2
acme.sh
@ -1886,7 +1886,7 @@ uninstall() {
|
||||
_profile="$(_detect_profile)"
|
||||
if [ "$_profile" ] ; then
|
||||
text="$(cat $_profile)"
|
||||
echo "$text" | sed "s|^source.*$PROJECT_NAME.env.*$||" > "$_profile"
|
||||
echo "$text" | sed "s|^[.] \"$LE_WORKING_DIR/$PROJECT_NAME.env\"$||" > "$_profile"
|
||||
fi
|
||||
|
||||
rm -f $LE_WORKING_DIR/$PROJECT_ENTRY
|
||||
|
Loading…
Reference in New Issue
Block a user