diff options
| author | typebrook <typebrook@gmail.com> | 2020-03-02 23:19:05 +0800 |
|---|---|---|
| committer | typebrook <typebrook@gmail.com> | 2020-03-02 23:19:05 +0800 |
| commit | 8877f608cb101f13c012225ee8177e31ccb9593d (patch) | |
| tree | 419ff28b07d2fdb10f5f67592f74053fef9fa513 | |
| parent | 5574f1a3418b74ddc832e8a2f19dad83d0fd3dc4 (diff) | |
update
| -rw-r--r-- | tools/install.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/install.sh b/tools/install.sh index 0601c92..4ec2586 100644 --- a/tools/install.sh +++ b/tools/install.sh | |||
| @@ -16,7 +16,7 @@ if [ ! -d $SETTING_DIR ]; then | |||
| 16 | } | 16 | } |
| 17 | fi | 17 | fi |
| 18 | 18 | ||
| 19 | sed -i "\^# $REPO^, /^$/ d" $RCFILE | 19 | sed -i "/^$/ N; \^# $REPO^, /^$/ d" $RCFILE |
| 20 | echo " | 20 | echo " |
| 21 | 21 | ||
| 22 | # $REPO | 22 | # $REPO |