uninstall alias

This commit is contained in:
neil 2016-01-31 17:38:44 +08:00
parent 525997ee04
commit 4ac8d68d06
1 changed files with 1 additions and 1 deletions

2
le.sh
View File

@ -1127,7 +1127,7 @@ uninstall() {
_profile="$(_detect_profile)"
if [ "$_profile" ] ; then
sed -i "/source \"$LE_WORKING_DIR/le.env\"/d" "$_profile"
sed -i /le.env/d "$_profile"
fi
rm -f $LE_WORKING_DIR/le.sh