Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
Acme.Sh
Commits
db0534ed
Commit
db0534ed
authored
Apr 18, 2016
by
neil
Browse files
fix bug, uninstall env
parent
2d39b3df
Changes
1
Show whitespace changes
Inline
Side-by-side
acme.sh
View file @
db0534ed
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment